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

@ -40,19 +40,6 @@ session)."
(ivy-mode +1)
(map! :map ivy-minibuffer-map
[escape] #'keyboard-escape-quit
"M-v" #'yank
"M-z" #'undo
"C-r" #'evil-paste-from-register
"C-k" #'ivy-previous-line
"C-j" #'ivy-next-line
"C-l" #'ivy-alt-done
"C-w" #'+ivy/backward-kill-word
"C-u" #'doom/minibuffer-kill-line
"C-b" #'backward-word
"C-f" #'forward-word)
(map! :map ivy-mode-map
[remap describe-face] #'counsel-describe-face
[remap find-file] #'counsel-find-file
@ -99,11 +86,6 @@ session)."
cmd
'(("O" +ivy-git-grep-other-window-action "open in other window"))))
(map! :map counsel-ag-map
[backtab] #'+ivy/wgrep-occur ; search/replace on results
"C-SPC" #'counsel-git-grep-recenter ; preview
"M-RET" (+ivy-do-action! #'+ivy-git-grep-other-window-action))
(advice-add #'counsel-ag-function :override #'+ivy*counsel-ag-function))