vim: firefox-like tab controls

May 6th, 2011 § 0 comments § permalink

I approve of this tip to make tab navigation in vim the same as with firefox. Life is too short to memorize multiple sets of commands.

:nmap :tabprevious
:nmap :tabnext
:map :tabprevious
:map :tabnext
:imap :tabpreviousi
:imap :tabnexti
:nmap :tabnew
:imap :tabnew

Where Am I?

You are currently browsing the vim snippets category at Dan O'Huiginn.