User Tools

Site Tools


vim:cheatsheet:tabs

VIM - Cheatsheet - Tabs

    :tabnew or :tabnew {page.words.file} - open a file in a new tab
    
    Ctrl + wT - move the current split window into its own tab
    
    gt or :tabn[ext] - move to the next tab
    gT or :tabp[revious] - move to the previous tab
    
    #gt - move to tab number #
    
    :tabm[ove] # - move current tab to the #th position (indexed from 0)
    
    :tabc[lose] - close the current tab and all its windows
    :tabo[nly] - close all tabs except for the current one
    
    :tabdo command - run the command on all tabs (e.g. :tabdo q - closes all opened tabs)
vim/cheatsheet/tabs.txt · Last modified: 2021/02/16 10:46 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki