christoomey/vim-tmux-navigator

<C-h> and <C-l> broken inside netrw(neovim). is there any way to fix?

Ask-786 opened this issue · 1 comments

and broken inside netrw(neovim). is there any way to fix?

Seems like this is caused by netrw overriding the <C-l> keybind. The <C-h> works fine for me so that one might be overriden by you config but heres a fix for <C-l>.
In vim:

let g:Netrw_UserMaps = [["<C-l>","<C-U>TmuxNavigateRight<cr>"]]

Or in neovim:

vim.g.Netrw_UserMaps = { { "<C-l>", "<C-U>TmuxNavigateRight<cr>" } }