Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
ivy-minibuffer-map doesn't respect user bindings #466
I use my own bindings for
(bind-key* "<S-left>" #'beginning-of-buffer) (bind-key* "<S-right>" #'end-of-buffer)
(setq ivy-minibuffer-map (let ((map (make-sparse-keymap))) [...] - (define-key map (kbd "M-<") 'ivy-beginning-of-buffer) - (define-key map (kbd "M->") 'ivy-end-of-buffer) + (define-key map (vector 'remap 'beginning-of-buffer) 'ivy-beginning-of-buffer) + (define-key map (vector 'remap 'end-of-buffer) 'ivy-end-of-buffer) [...]
This means: "bind
I can send a pull request if you want.
* ivy.el: Make sure user keybindings are reused in ivy-minibuffer-map. Without this patch, if the user specifies his own keybinding for a standard command (e.g., `beginning-of-buffer`, normally bound to `M-<`), ivy keeps using the default keybinding (e.g., `M-<`) in ivy-minibuffer-map instead of the user-specified one. * ivy-test.el: Add corresponding test Fix issue abo-abo#466.