Monday, February 29, 2016

Vim multiple commands at once

for example
split window and open it in file explorer view
you would do
:vsp
then
:E

you can do it all at once like this
:vsp|E
Or suppose you want to open all *.c files in all subdirectories in differente tabs

you would do
:args **/*.c
then
:tab sall

you can do it all at once like this
:args **/*.c|tab sall


No comments:

Blog Archive