Heavily redesign keybinding design

+ SPC and SPC m as leader/localleader (spacemacs-ey)
+ Move all custom keybindings to private +bindings.el file
+ Redesign+rearrange keybindings
This commit is contained in:
Henrik Lissner
2017-05-27 14:49:06 +02:00
parent 717d0ec06f
commit fbe782df22
13 changed files with 425 additions and 357 deletions

View File

@@ -65,15 +65,7 @@
(advice-add #'git-timemachine-show-revision :after #'+vcs*update-header-line)
;; Force evil to rehash keybindings for the current state
(add-hook 'git-timemachine-mode-hook #'evil-force-normal-state)
(map! :map git-timemachine-mode-map
:nv "p" #'git-timemachine-show-previous-revision
:nv "n" #'git-timemachine-show-next-revision
:nv "g" #'git-timemachine-show-nth-revision
:nv "q" #'git-timemachine-quit
:nv "w" #'git-timemachine-kill-abbreviated-revision
:nv "W" #'git-timemachine-kill-revision
:nv "b" #'git-timemachine-blame))
(add-hook 'git-timemachine-mode-hook #'evil-force-normal-state))
(def-package! magit
@@ -87,9 +79,5 @@
(def-package! evil-magit
:when (featurep! :feature evil)
:after magit
:init (setq evil-magit-want-horizontal-movement t)
:config
(map! :map (magit-status-mode-map magit-revision-mode-map)
:n "C-j" nil
:n "C-k" nil))
:init (setq evil-magit-want-horizontal-movement t))