Jeff Roberts
RHCE #804006066322833
Vim-Fu is now iPhone and Android friendly

Check out the Vim-Fu Store!

Vim-Fu

auto formatting

the “=” key is used to autoformat in Vim.

If I have this:

if ($args{h}) {
&help;
}
if ($args{q}) {
++$quiet_mode;
}

I can highlight the text using CTRL-V and h,j,k,l to and then use the “=” to get:

if ($args{h}) {
   &help;
}
if ($args{q}) {
   ++$quiet_mode;
}

1 comment to auto formatting

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>