diff options
Diffstat (limited to '.config/emacs/modules/bd--windows.el')
-rw-r--r-- | .config/emacs/modules/bd--windows.el | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/.config/emacs/modules/bd--windows.el b/.config/emacs/modules/bd--windows.el index e48e7fa..23ced37 100644 --- a/.config/emacs/modules/bd--windows.el +++ b/.config/emacs/modules/bd--windows.el @@ -12,18 +12,11 @@ (fringe-mode '(0 . 0)) ;; movement -(defvar-keymap bd/windmove - :repeat t - "b" #'windmove-left - "n" #'windmove-down - "f" #'windmove-right - "p" #'windmove-up - "B" #'windmove-swap-states-left - "N" #'windmove-swap-states-down - "F" #'windmove-swap-states-right - "P" #'windmove-swap-states-up) - -(keymap-global-set "H-o" bd/windmove) +(keymap-global-unset "C-x o") +(keymap-global-set "H-n" 'other-window) +(keymap-global-set "H-p" (lambda () + (interactive) + (other-window -1))) (repeat-mode 1) |