Hi eliweiq001! On Fr, 20 Aug 2010, eliweiq001 wrote:
> Hi, I want to write this: > > map <C-tab> "if there are more than one tabpage" then :tabnext else > <C-w>w > > How to finish it? Besides the fact, that you can't map <C-Tab> because a Tab is already equal to <C-I> you can use an expression mapping to achieve what you want, e.g: noremap <expr> <f6> tabpagenr('$')>1 ? '<C-PageDown>' : '<C-W>w' regards, Christian -- 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