Vim: Inserting output of unix/linux command
I had seen other vim experts do this but couldn't remember how they did. Today I finally search and found how to insert the output of a unix/linux command directly in a vim buffer(without copy-pasting).
or in the visual mode (by pressing V) simply !ls /home/
Simple isn't it and quite useful at times.
:r!ls /home/
or in the visual mode (by pressing V) simply !ls /home/
Simple isn't it and quite useful at times.
0 Comments:
Post a Comment
<< Home