Reputation: 1545
I want to map cmd-left/right to W and w to navigate splits. So I tested right from the command line (in normal mode):
:map <D-Left> <C-w>W
And it works like a charm. When I had the same line (minus the colon, obviously) in my .vimrc, the mapping is not set.
The closest question I found seem to be related to cygwin only. I also don't believe I am running against a terminal hijacking issue (launching macvim from the finder doesn't change the behaviour) nor does CMD-left/right seem to be an OS wide shortcut.
I must be missing something terribly simple here but I can't find out what.
Thanks in advance for any help/hints
Upvotes: 1
Views: 132
Reputation: 9455
You can try :verbose map <D-Left>
to find in which script the mapping were defined for the last time
Upvotes: 1