[Ilugc] the vi editor

  • From: vannia@xxxxxxxxxxxxxx (Vannia Rajan)
  • Date: Fri, 22 Jun 2012 11:15:19 +0530

Hi,

On Wed, Jun 13, 2012 at 5:16 PM, Girish Venkatachalam <
girishvenkatachalam at gmail.com> wrote:

If you want to read the output of ifconfig, then

: r !ifconfig

 Now you can also read files.

:r /etc/passwd

 You can format the file and indent the loops and conditions by
selecting the region and pressing =


I like the above 3 tips, which I never knew before. Thanks for Sharing.

Note: I've been using Vim for 2+ years as my main Editor.

-- 
Thanks,
Vanniarajan

Other related posts: