-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot bind <tab> in keypad #610
Comments
I can't reproduce this; your code works for me. Would you post your whole config somewhere? |
It seems that the problem is only in modes that bind "C-c TAB". In org-mode for example: The meow part of my config can be found here: https://purple-noell-46.tiiny.site. |
binding the workaround I have works (in GUI and terminal) by forcibly rebindinding the keypad keymap with a custom meow-last-buffer function: ;; light wrapper around meow-last-buffer so binding hacks below will function
(defun custo/meow-last-buffer ()
"Goto last buffer."
(interactive)
(meow-last-buffer nil)
(meow-keypad-quit) ;; or use (meow--keypad-quit) to prevent the mode-line spam
)
;; forces which-key to display binding
(meow-leader-define-key
'("TAB" . custo/meow-last-buffer)
'("<tab>" . custo/meow-last-buffer)
)
;; fix the broken binding above in terminals by avoiding most of the problematic magic wrappers
(meow-define-keys
'keypad
'("TAB" . custo/meow-last-buffer)
'("<tab>" . custo/meow-last-buffer)
) |
The same with #645 |
The following does not seem to work
I have
(setq meow-keypad-leader-dispatch "C-c")
andC-c <tab>
works as expected, but<space> <tab>
does not.The text was updated successfully, but these errors were encountered: