Skip to content

Please add terminal mode maps #207

@Heithoff

Description

@Heithoff

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions