On Fri, Dec 10, 2010 at 10:23:45AM EST, dvd7e wrote:

[..]

> 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.

Try:

:map  <Esc>j gT
:map  <Esc>k gt

If you want to also work in insert and ex mode you may want to
complement it with:

:map! <Esc>j gT
:map! <Esc>k gt

cj


-- 
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

Reply via email to