Keep ~C-h~ binding in =counsel-find-file-map= only for hjkl navigation
It has already been bound to <kbd>C-backspace</kbd> and <kbd>C-delete</kbd>. Such an additional binding is redundant (if hjkl navigation is not used) and makes the original <kbd>C-h</kbd> binding (help) unavailable.
This commit is contained in:
parent
f19d57eb57
commit
383da46e38
|
@ -1872,6 +1872,8 @@ Other:
|
|||
of =counsel-find-file= (thanks to Hong Xu)
|
||||
- Fixed broken =ivy-occur= (thanks to Carlos Ibáñez)
|
||||
- Fixed =counsel-git-grep= with input ~SPC s g P~ (thanks to Carlos Ibáñez)
|
||||
- Keep ~C-h~ binding in =counsel-find-file-map= only for hjkl navigation
|
||||
(thanks to Hong Xu)
|
||||
**** Imenu-list
|
||||
- Changed ~SPC b i~ to ~SPC b t~ for =imenu= tree view
|
||||
(thansk to Sylvain Benner)
|
||||
|
|
|
@ -131,7 +131,6 @@
|
|||
'counsel-find-file
|
||||
spacemacs--ivy-file-actions)
|
||||
|
||||
(define-key counsel-find-file-map (kbd "C-h") 'counsel-up-directory)
|
||||
(define-key read-expression-map (kbd "C-r") 'counsel-minibuffer-history)
|
||||
;; remaps built-in commands that have a counsel replacement
|
||||
(counsel-mode 1)
|
||||
|
|
|
@ -199,6 +199,7 @@ See https://github.com/syl20bnr/spacemacs/issues/3700"
|
|||
ivy-switch-buffer-map))
|
||||
(define-key map (kbd "C-j") 'ivy-next-line)
|
||||
(define-key map (kbd "C-k") 'ivy-previous-line))
|
||||
(define-key counsel-find-file-map (kbd "C-h") 'counsel-up-directory)
|
||||
(define-key ivy-minibuffer-map (kbd "C-h") (kbd "DEL"))
|
||||
;; Move C-h to C-S-h
|
||||
(define-key ivy-minibuffer-map (kbd "C-S-h") help-map)
|
||||
|
|
Loading…
Reference in New Issue