When I open several files using vim+tabf
, switching across the files will involve using tabp
& tabn
.
Can I have a quicker way to do so?
keyboard shortcutsvivim
When I open several files using vim+tabf
, switching across the files will involve using tabp
& tabn
.
Can I have a quicker way to do so?
Best Answer
In vim you can replace any command with a shortcut key sequence. For tabp and tabp you might want to use ctrl-k and ctrl-j. To create that mapping you would add the following to your .vimrc: