Re:Efficient Editing With vim
by bockris on Friday September 25, 2009 @02:39PM
(#844037)
also #gt will go that tab number.
I've changed my tab text to show the number in parenthesis before the name.
[ Parent
| on HN ]
For those who prefer alt navigation, you can add to your gvimrc
" tab navigation
map <A-1> 1gt
map <A-2> 2gt
map <A-3> 3gt
map <A-4> 4gt
map <A-5> 5gt
map <A-6> 6gt
map <A-7> 7gt
map <A-8> 8gt
map <A-9> 9gt
map <A-0> 10gtWhat is that heretical "g" doing in front of "vimrc"?
You know, if I had a terminal emulator that I could run vim with 24-bit colour depth in, that would go a long way towards turning me from the path of heresy.
Maybe it's some config he only uses in gvim.
Whoosh . . . ?
This also works with Vimperator. I'm now thinking about installing that Firefox extension that gives all the tabs numbers, for ease of reference. Alas, I don't remember what it was called -- but I'm sure I'll find it again.
Re:Efficient Editing With vim
by solutionyogi on Friday September 25, 2009 @03:30PM
(#844137)
That's a neat idea. How do you change it to show tab number in the tab header?
This is for GVIM.
set guitablabel=(%N%M)\ %f