dotfiles

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

commit 3976e2fd5ca5c1938031275f90f4b689fc38a7fb
parent 095753d3dde9539597ade1e2f119b08af27d1fd5
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Thu,  2 Jun 2022 16:16:52 +0200

emacs: add ace-window

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

diff --git a/emacs/config.org b/emacs/config.org @@ -1325,6 +1325,20 @@ Also, counsel doesn't provide some keybindings that I can get from helpful: (za/global-set-key (kbd "C-h k") #'helpful-key) (za/global-set-key (kbd "C-h C") #'helpful-command) #+end_src +** ace-window +Window switching with ~other-window~ sucks when I have more than 2 windows open. Too much cognitive load. +This lets me select a window to jump to using a single key, sort of like ~avy~. + +#+begin_src emacs-lisp + (use-package ace-window) + (za/global-set-key (kbd "M-o") #'ace-window) +#+end_src + +I prefer using home-row keys instead of numbers: + +#+begin_src emacs-lisp + (setq aw-keys '(?a ?s ?d ?f ?g ?h ?j ?k ?l)) +#+end_src * Interface ** Start debugger on error #+begin_src emacs-lisp