5 ms·
A slightly longer trick but.. :tabe newfile to open a new file. Then, add the following to your ~/.vimrc (on MacOS) map <Esc>f <Esc>:tabn<cr> map <Esc>b <Esc
by aprao 8y ago
A slightly longer trick but..
:tabe newfile to open a new file.
Then, add the following to your ~/.vimrc (on MacOS)
map <Esc>f <Esc>:tabn<cr>
map <Esc>b <Esc>:tabp<cr>
Now you can switch between tabs using option + arrow keys
- morokhovets 8y agoAlso, there are standard gt and gT that are same amount of keystrokes and very mnemonic too.