ayamir / nvimdots

A well configured and structured Neovim.
BSD 3-Clause "New" or "Revised" License
2.84k stars 455 forks source link

fix(keymap): use `<C-w>` with hjkl to navigate under `t` mode. #1029

Closed ayamir closed 9 months ago

ayamir commented 9 months ago

As discussed in #970, the keymaps of <C-h>, <C-j>, <C-k>, and <C-l> are usually defined as shell keymaps to do other things. For example, <C-l> is used to clear terminal output, which is used frequently. Old mappings just considered the consistency with those under normal mode and didn't consider the conflicts. IMO it should be fixed by ourselves instead of leaving it to users. cc @Jint-lzxy @CharlesChiuGit