Question

I'm trying to map alt left/right to move the cursor focus between the file window and the NERDTree window. I've tried remapping ctrl-w-w but I just can't get it to work right. Any ideas?

Was it helpful?

Solution

add the following to your ~/.gvimrc

map <A-Right> <C-W>l
map <A-Left> <C-W>h

This will work with the GUI, but not in the terminal.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top