(Vim) Commands for managing tabs
Execute the following in command mode:
-
Open
FILEon a new tab::tabe[dit] <FILE> - Reposition tab among other tabs
- Move tab to \(i^{th}\) position:
tabm[ove] <i> - Move tab relatively \(i\) times to the right:
tabm[ove] +<i> - Move tab relatively \(i\) times to the left:
tabm[ove] -<i>
- Move tab to \(i^{th}\) position:
- Close a tab with multiple splits (
:qwill close only a single split)::tabc[lose]
Reference:
Written on February 20, 2021
