News for hackers. Stuff that matters.
Re:Vim: Buffers, Windows, and Tabs by mmahemoff on Saturday June 09, 2012 @07:37AM (#4087862)
"You can then flick back and forth between the tabs using :tabn and :tabp."

Also gt and gT, but I still like to map these to single-key shortcuts.

    map Y gt
    map T gT
Re:Vim: Buffers, Windows, and Tabs by tyrmored on Saturday June 09, 2012 @08:23AM (#4087927)
Yes, gt and gT are the way to do this.

Admittedly I wouldn't personally recommend those mappings, because both already correspond to commands I use quite frequently. By default Y is synonym for yy, to yank a whole line, and T<char> moves back to the nearest instance of <char> on the current line. The first one I think people could live without, but the latter is kind of important for good vi.

Re:Vim: Buffers, Windows, and Tabs by unhappyhippie on Saturday June 09, 2012 @08:27AM (#4087934)
It just might be me, but I always prefer multiple keys to pressing a dead key . After some time, my short finger cannot take it. For eg, I always use yy instead of Y.
Re:Vim: Buffers, Windows, and Tabs by brianto2010 on Saturday June 09, 2012 @08:23PM (#4089753)
Same here, but mine is

    nnoremap <Tab> gt
    nnoremap <S-Tab> gT
Normal mode tab switches through tabs. One (and two) key goodness.
Re:Vim: Buffers, Windows, and Tabs by mmahemoff on Sunday June 10, 2012 @06:05PM (#4092374)
That's a good one actually, I might switch over to that.
Re:Vim: Buffers, Windows, and Tabs by mmahemoff on Monday June 11, 2012 @10:53PM (#4098454)
Unfortunately Tab is equivalent to ctrl-i, which I already use (jump forward in history list), so I can't use this in the end.