2009/5/27 netimen <[email protected]> > > > thanks, but I mean another thing. I have 5 tabs and I use 2-nd and 4- > th. I want gt jumping from 2-nd tab to 4-th, not to 3-d, and then from > 4-th back to 2-nd. So the tab order is not left--right, but most > recently used -- less recently used
I have the follow lines on my vimrc: let g:tabPrevious=1 command! -nargs=0 -complete=file -range TabToggle execute "tabnext " . g:tabPrevious au Tableave * let g:tabPrevious=tabpagenr() Now you can map :TabToggle to any key. Example: map <F2> :TabToggle<CR> I think that it can resolve your problem. > > On 27 май, 20:03, alberto <[email protected]> wrote: > > Hi!, > > > > try with gT. > > > > Saludos > > > > 2009/5/27 netimen <[email protected]> > > > > > > > > > > > > > Now when I use gt command I go to the tab to the right. Can I > > > configure vim to go to the tab last used (like in opera browser)? > > > -- ---------------------------------------------- Roberto Miura Honji LAS - Laboratório de Administração e Segurança de Sistemas Engenharia de Computação - 2006 Instituto de Computação - UNICAMP email: [email protected] (principal) email: [email protected] msn: [email protected] ------------------------------------------- --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
