Skip to content
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

Please add terminal mode maps #207

Closed
Heithoff opened this issue Jun 14, 2018 · 1 comment
Closed

Please add terminal mode maps #207

Heithoff opened this issue Jun 14, 2018 · 1 comment

Comments

@Heithoff
Copy link

Vim8.1 now has terminal mode. If some maniac has Vim open in a tmux session and starts a Vim terminal window, then the normal mode mappings won't work from the terminal window.

This could be added to plugin/tmux_navigator.vim after the nnoremaps.
if has('terminal')
tnoremap :TmuxNavigateLeft
tnoremap :TmuxNavigateDown
tnoremap :TmuxNavigateUp
tnoremap :TmuxNavigateRight
tnoremap <c-> :TmuxNavigatePrevious
endif

@christoomey
Copy link
Owner

Hi @Heithoff, we have a few open issues and a PR related to terminal mode mappings (I'm working right now to consolidate them). IIRC there are some potential issues or complications when running this with FZF so I'm weary of adding these. You certainly can add to your own vimrc, but for now I'm going to close this in favor of #172 where I'd like to collect any conversations around terminal mode mappings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants