March 16, 2018

[VIMzheimer] 03. Scrollbind



Comandos

Para trabajar con múltiples archivos (buffers), la lista de comandos:

Options Working with multiple files
Ctrl + w+s Split window (horizontal)
Ctrl + w+j Move to the window below (in horizontal split)
Ctrl + w+k Move to the window above (in horizontal split)
Ctrl + w+w Switch window (horizontal and vertical split)
Ctrl + w+v Split window vertically
Ctrl + w+h Move to the left window (in vertical split)
Ctrl + w+l Move to the right window (in vertical split)
Ctrl + w+H Change mode view to vertical split (w/+2 buffer) and move to left side
Ctrl + w+L Change mode view to vertical split (w/+2 buffer) and move to rigth side
Ctrl + w+J Change mode view to horizontal split (w/+2 buffer) and move top
Ctrl + w+K Change mode view to horizontal split (w/+2 buffer) and move bottom
Ctrl + w+q Quit window

Options Editing files
:e file Edit a file in a new buffer
vim file Edit a file in a new buffer
:sp file Open a file in a new buffer and split window (horizontally)
vim -o file1 file2 .. fileN Open all files and split window (horizontally)
:vsp file Open a file in a new buffer and split window (vertically)
vim -O file1 file2 .. fileN Open all files and split window (vertically)
:ls List all open buffers

The Phantom Agony

- De esas rolitas que me han influenciado o impactado de alguna manera.