You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use vim inside of tmux, and I set vim up so that when I press c-j/c-k, I go to whatever is below/above, either a vim window, or a tmux pane.
Vmail is overriding this by opening the previous/next email. I tried to put a bunch of stuff in vim_opts in the .vmailrc, but I can't seem to disable/re-override (ideally elegantly) these mappings. Any suggestions? What can I do?
Also, running :nunmap <buffer> <c-j> after opening vmail correctly restores the behaviour in that particular buffer, but I don't want to manually do that every time
The text was updated successfully, but these errors were encountered:
towc
changed the title
conflicting keybindings
overriding/disabling conflicting keybindings
Nov 19, 2018
So if one wants vmail to not map c-j and c-k, they would need to add mappings for these <Plug>... functions in their .vimrc. For e.g. if you want only the <leader>j/<leader>k mappings to go to the next/previous message, define the following in your .vimrc:
I use vim inside of tmux, and I set vim up so that when I press
c-j
/c-k
, I go to whatever is below/above, either a vim window, or a tmux pane.Vmail is overriding this by opening the previous/next email. I tried to put a bunch of stuff in
vim_opts
in the.vmailrc
, but I can't seem to disable/re-override (ideally elegantly) these mappings. Any suggestions? What can I do?Also, running
:nunmap <buffer> <c-j>
after opening vmail correctly restores the behaviour in that particular buffer, but I don't want to manually do that every timeThe text was updated successfully, but these errors were encountered: