dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 4efca699e4851be673a75257993874e80e51904f
parent e916e25be6f58d2d9431abc1f2e380eb276e7bd5
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Wed, 25 May 2022 21:10:31 +0200

emacs: rebind shift-space in ivy

Diffstat:
Memacs/config.org | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/emacs/config.org b/emacs/config.org @@ -282,6 +282,14 @@ Have to set this to let me select exactly what I'm typing as a candidate: #+begin_src emacs-lisp (setq ivy-use-selectable-prompt t) #+end_src + +Also, accidentally pressing shift-space deletes input, because by default, shift-space is bound to ~ivy-restrict-to-matches~ in the ivy minibuffer. I don't want that, I want it bound to shift-tab: + +#+begin_src emacs-lisp + (define-key ivy-minibuffer-map (kbd "S-SPC") (lambda () (interactive) (insert ?\s))) + (define-key ivy-minibuffer-map (kbd "<backtab>") #'ivy-restrict-to-matches) +#+end_src + ** company Good completion.