arttuladhar
7/15/2013 - 3:25 PM

VI CheatSheet

VI CheatSheet

# WORKING WITH MULTILE FILES

:S                  #- Split Window
:sp <filename>      #- Opens a file in a new buffer and split window
Ctrl + ws           #- Split Windows
Ctrl + ww           #- Switch between windows
Ctrl + wq           #- Quit a window
Ctrl + wv           #- Split windows vertically
Ctrl + w + (Up)     #- Switch window

# Tabs

:tabnew             #- Creates a new tab
gt                  #- Show next tab
:tabfirst           #- Show first tab
:tablast            #- Show last tab
:tab ball           #- Puts all open files in tabs