Saari Development

This blog is intended to be a log of my (Ali Rizvi's) professional ramblings as a software development engineer. I intend to add logs of my experience with different technologies, software, tech books/articles and related stuff from time to time. My intention is to have an archive for my personal use and public benefit.

Sunday, December 23, 2007

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).

: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