-
Notifications
You must be signed in to change notification settings - Fork 523
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
Disable or remap ge
#482
Comments
Agreed. It would be great to either change this default or allow it to be remapped. |
+1 |
This is my temporary solution, from the Disable Default Key Mappings Add the following line to your .vimrc to disable default key mappings: You can also map them by yourself with mappings. |
By remapping map <F13> <Plug>Markdown_EditUrlUnderCursor A built in toggle in vim-markdown to enable or disable the |
I agree with @melkster, a plugin should not override default vim commands. And if a plugin author really wants to use a keymap that conflicts with a default vim command, then they ought to consider using a
|
Both There is a complete list of default commands starting with |
@ernstwi You're so right! How silly of me. Then I agree, better to use a |
I would be happy to review/accept a PR that moved the default binding to this to something that is not used by default in VIM/NeoVIM. As noted |
In #582 @ernstwi proposed using I can see the argument for the synergy with My idea is |
Why not have it mapped to |
@melkster That actually sounds like a good idea to me, the only downside is it has some implementation overhead that I don't have time to contribute myself. I'd be happy to approve a contribution that took it that direction, but if somebody is going to do that it should probably happen soon or we should go ahead with changing the default binding to something else (since that is well agreed to be a problem and a contribution is already ready to take care of it). |
Liking the |
Didn't have time to finish a PR for |
Note: I use The idea of overriding
These all affect the behaviour of I think that 3, 4, 5, and 6 could be ignored without breaking the user's expectation. But if I have 1 set to e.g. On the other hand, if we apply special behaviour to I think that short of removing options 1 and 2, it would be best to keep By the way, Could be easily fixed to support option 2 as well, but I think that if we decide to keep separate So as a summary I think it would be best to:
|
vim-markdown overwriting
ge
is quite critical, as its default mapping is a very useful (at least to me) movement.I think that vim-markdown should have a setting that I could set to disable or remap
vim-markdown-ge
to something else.The text was updated successfully, but these errors were encountered: