Vim with Multiple Files
Buffers
Open multiple file into buffers
Add files to the buffers
List all files of current buffers
Output of :ls
:
Switch file using index
where 2 is the index in :ls
Switch file using file name
Switch prev/next buffer
Switch to last visited buffer
Toggle between 2 files when repeatedly using this cmd
Using Tabs
Open multiple files into tabs
Add a new Tab
Switch to prev/next Tab
Split Screen
Split Horizontally (up and down)
Split Vertically (left and right)
Open files into horizontally splitted windows
Open files into vertically splitted windows
Move between splitted windows
Ctrl+W+Arrow
Move to next splitted window
Ctrl+W+W
Reference
Last updated
Was this helpful?