-
Notifications
You must be signed in to change notification settings - Fork 4
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
TAB: using fancy-dabbrev-expand-or-indent breaks TAB on Magit #11
Comments
Hi there! It doesn't break Magit for me at least (Emacs 27, Magit v3.1.1-15-g7f666751c022). Why do you think it does? Magit defines what TAB will do in its local keymaps, e.g. |
I think it does because I set the global key to expand or indent, TAB on magit doesn't work, for example to show a diff: suddenly I get
:] I suppose TAB must tweaked only for fancy-dabbrev-mode. If it works for you, that's good news though^^
I didn't know that, but it doesn't seem to be the case with me, since Magit 20210105. I might need to update and see. |
Ah, now I understand. Emacs apparently performs translation between In other words, try this instead: (global-set-key (kbd "TAB") 'fancy-dabbrev-expand-or-indent) |
Perfect thank you! |
Hello,
you say:
but it breaks TAB on a Magit buffer. There, TAB is bound to
magit-section-toggle
.It probably breaks other modes.
I am not sure on the best fix.
Thanks for the package! cheers
The text was updated successfully, but these errors were encountered: