2

On Windows OS, I am using Chrome web browser to ssh into a remote Linux terminal and using vi there. One can use Ctrl-w + hjkl to navigate among split vi windows. However, the problem is Ctrl-w instantly closes Chrome tab (Windows OS) before I can do anything with vi. How can I navigate between vi windows when I cannot use Ctrl-w?

ewr3243
  • 131
  • 3

1 Answers1

1

Thanks to comment of muru.

Solved the problem using https://vi.stackexchange.com/a/3729/33095

:nnoremap <Leader>w <C-w>

Unless you've remapped , you can now use \w (after each other). I actually prefer this since I don't like CTRL+key combinations.

and/or using https://vi.stackexchange.com/a/3737/33095.

I actually use :wincmd more often than Ctrl+W because I find it easier to type the abbreviated :winc.

ewr3243
  • 131
  • 3