emacs: add more typical keybinds for common actions
1 file changed, 7 insertions(+), 2 deletions(-)
changed files
M user/emacs/init.el → user/emacs/init.el
@@ -463,7 +463,8 @@ (add-to-list 'evil-emacs-state-modes 'eshell-mode) (evil-mode +1)) :general (:states 'motion - "C-;" #'evil-avy-goto-line) + "C-;" #'evil-avy-goto-line + "C-<tab>" #'evil-switch-to-windows-last-buffer) (:states 'normal ";" #'evil-ex) (:states '(normal)@@ -1043,7 +1044,8 @@ ;;; Projects (use-package project - :bind ("s-p" #'project-find-file) + :bind (("s-p" . #'project-find-file) + ("s-o" . #'project-switch-project)) :general (:keymaps 'project-prefix-map "s" #'project-search) :config (progn@@ -1080,6 +1082,9 @@ :defer 5 :commands (magit-status magit-dispatch) :general ([remap project-vc-dir] #'magit-project-status) (:keymaps 'project-prefix-map "m" #'magit-project-status) + (:keymaps 'magit-mode-map "z" nil) + (:keymaps 'magit-status-mode-map "z" #'magit-stash) + (:keymaps 'magit-section-mode-map "C-<tab>" nil) :config (progn (add-to-list 'magit-git-environment "NO_COLOR=1") (with-eval-after-load 'evil-ex