I don't think "M" is the right key. Try mapping the cmd-arrow key literally by 
using ^v - i.e. Hit ctrl-v and then hit command-arrow. 

That just might manifest as <D-Left>. It does for me at least

------Original Message------
From: Ruby185
Sender: [email protected]
To: vim_mac
ReplyTo: [email protected]
Subject: map command key
Sent: Mar 24, 2009 11:17


hi,

I want to map Command key plus left arrow and right arrow to open left
and right tabs by:

map <M-LEFT> <ESC>:tabp<CR>
map <M-RIGHT> <ESC>:tabn<CR>

but it has no effect, though replace M with C for control works.

Any idea why it doesn't work for command key?

Thanks

Ruby




Entered using opposable digits...

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to