I'm trying to override the keymap C-l
binding when in helm mode.
However, it doesn't seem to be working - even though my other bindings work.
I've tried setting C-l
to nil and also binding to both helm-map and helm-find-files-map but it still has the default binding.
(define-key helm-find-files-map (kbd "C-l") nil)
(define-key helm-map (kbd "C-l") nil)
(define-key helm-map (kbd "C-l") 'helm-execute-persistent-action)
(define-key helm-find-files-map (kbd "C-l") 'helm-execute-persistent-action)
Is there something that I'm missing here that is preventing me from overriding this keybinding?
helm-find-files-map
) is enough to makeC-l
do nothing on my computer, testing it withC-x C-f
. There is a different keymap used for finding files in other window; that'shelm-read-file-map
.