diff --git a/.config/emacs/init.org b/.config/emacs/init.org index 5cb2943..8bfec8c 100644 --- a/.config/emacs/init.org +++ b/.config/emacs/init.org @@ -586,19 +586,12 @@ weren't working, until I randomly saw this in someone's init.el (kbd "cy") 'consult-yank-from-kill-ring (kbd "cg") 'consult-ripgrep (kbd "cF") 'consult-find - (kbd "co") 'consult-outline - ;; (kbd "ee") 'flymake-mode - (kbd "C-h") 'evil-window-left - (kbd "C-j") 'evil-window-down - (kbd "C-k") 'evil-window-up - (kbd "C-l") 'evil-window-right))) + (kbd "co") 'consult-outline))) ;; (define-prefix-command 'evil-consult-map) ;; (define-key evil-consult-map "b" 'evil-window-bottom-right) ;; (define-key evil-consult-map "c" 'evil-window-delete) -(evil-global-set-key 'normal (kbd "C-w") 'save-buffer) - (defvar global-evil-leader-map (make-sparse-keymap)) (evil-define-key 'normal 'global-evil-leader-map (kbd "SPC") 'evil-send-leader) @@ -626,9 +619,8 @@ weren't working, until I randomly saw this in someone's init.el (setq evil-goggles-pulse t) (setq evil-goggles-async-duration 0.55) -(evil-global-set-key 'normal (kbd "w") 'evil-window-map) - (define-key evil-window-map "u" #'winner-undo) +(define-key evil-window-map "U" #'winner-redo) (defun joe/scroll-up-line () (interactive) (scroll-up-line 2)) (defun joe/scroll-down-line () (interactive) (scroll-down-line 2)) @@ -699,10 +691,10 @@ The theme of `C-x 4` bindings is that they operate on other windows, so this fun (global-set-key (kbd "C-x o") #'ace-window) (global-set-key (kbd "C-x C-o") #'ace-swap-window) -(global-set-key (kbd "C-c h") #'windmove-left) -(global-set-key (kbd "C-c l") #'windmove-right) -(global-set-key (kbd "C-c k") #'windmove-up) -(global-set-key (kbd "C-c j") #'windmove-down) +(global-set-key (kbd "s-h") #'windmove-left) +(global-set-key (kbd "s-l") #'windmove-right) +(global-set-key (kbd "s-k") #'windmove-up) +(global-set-key (kbd "s-j") #'windmove-down) #+end_src *** Popper