mirror of
https://github.com/cheat/cheat.git
synced 2024-12-22 12:45:06 +01:00
Merge pull request #459 from rafaelbernard/vim-multiple-windows
Add: vim - multiple windows
This commit is contained in:
commit
42a39449b3
@ -63,3 +63,18 @@ d{motion} delete text that {motion} moves over
|
||||
2dw deletes 2 words
|
||||
5yy copies 5 lines
|
||||
42G go to line 42
|
||||
|
||||
# Multiple windows
|
||||
:e filename - edit another file
|
||||
:split filename - split window and load another file
|
||||
ctrl-w up arrow - move cursor up a window
|
||||
ctrl-w ctrl-w - move cursor to another window (cycle)
|
||||
ctrl-w_ - maximize current window
|
||||
ctrl-w= - make all equal size
|
||||
10 ctrl-w+ - increase window size by 10 lines
|
||||
:vsplit file - vertical split
|
||||
:sview file - same as split, but readonly
|
||||
:hide - close current window
|
||||
:only - keep only this window open
|
||||
:ls - show current buffers
|
||||
:b 2 - open buffer #2 in this window
|
||||
|
Loading…
Reference in New Issue
Block a user