Vi, Vim, Vscode editors

From Ever changing code
Revision as of 18:52, 23 December 2015 by Pio2pio (talk | contribs) (Created page with "= VI or VIM = ;drop to bash :!bash or :!sh ;edit other file :e file.txt #autocomplite works ;redirect command STDOUT to the current edited file in the cursor position...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

VI or VIM

drop to bash
:!bash   or   :!sh
edit other file
:e file.txt    #autocomplite works
redirect command STDOUT to the current edited file in the cursor position
:r!dir

VIM only

Split
:split   or   :vsplit

C^w, c -close current window C^w, C^w - switch between windows