Switch C-DEL and M-DEL in counsel-find-file-map

this allows for more reasonable backward-kill-word behavior with C-DEL
This commit is contained in:
Adam Goldsmith 2017-08-13 15:19:04 -04:00
parent 6c0b430651
commit e511b9ddb8
1 changed files with 5 additions and 1 deletions

View File

@ -274,7 +274,11 @@
:bind (("M-x" . counsel-M-x)
("C-M-y" . counsel-yank-pop)
("C-x C-f" . counsel-find-file)
:map counsel-find-file-map ("C-M-i" . counsel-find-file-edit-path))
:map counsel-find-file-map ("C-M-i" . counsel-find-file-edit-path)
:map counsel-find-file-map ("C-DEL" . ivy-backward-kill-word)
:map counsel-find-file-map ("C-<backspace>" . ivy-backward-kill-word)
:map counsel-find-file-map ("M-DEL" . counsel-up-directory)
:map counsel-find-file-map ("M-<backspace>" . counsel-up-directory))
:init
(bind-key "C-c C-c M-x" 'execute-extended-command) ;;normal M-x.
:config