On 12/10/2010 10:23 AM, dvd7e wrote:
(I did some research on this for a while, but to no avail, so I'm
posting the question here.)
I would like to map Alt+char to certain functions in GVIM. I'm using
GVIM 7.2 on Solaris machine, using dtterm (or xterm) for my terminal.
For example, I would like to use Alt+j and Alt+k to move left and
right across tabs. So I have this in my .vimrc:
:map<A-j> <ESC>:tabprev<CR>
But this doesn't work. It DOES work if I map it to the control key.
When I look at the mapping in gvim (with ":map") i see that the
tabprev function is mapped to 'e-(circumflex)', e.g. the letter 'e'
with a little hat on top.
Typing :help map-alt-keys says that in GVIM the alt key should
automaticaly be recognized.
How do I fix this? Any ideas?
Thank you!
How about :map <m-j> ...?
-ak
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php