0

I'm using Vim and now I'm moving to NeoVim. I have configured my .vimrc so that the hotkey Control H/J/K/L moves between panels. (seamlessly between vim and tmux also).

But now when I'm moving to NeoVim, I see that Control H doesn't switch to left panel, but moves the cursor one character left. This makes me confused. I think the behavior of Neovim and vim should be the same with the same vimrc.

1

This is a bug from nvim and has officially discuss here:

nvim bug when pressing Control+H

Basically, that means you press Control+H, nvim will understand a backspace. So we must convert backspace again to open TmuxNavigateLeft

 <silent> <BS> :TmuxNavigateLeft<cr>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.