photo
Jordan Sissel
geek

Sat, 14 Feb 2004

vim autoindenting

My hatred for other people's indenting habbits has now been calmed by the awesomeness that is vim. The command, =, will let you reindent the current line (or the whole file, or whatever) to the settings you use in vim already.
So, instead of dealing with people being dumb and using spaces for *everything* this magical keystroke series will fix my woes:
1G=G
This will cause reindentation of every line in the file you are editing.

Woot.

Comments: 0 (view comments)
Tags:
Permalink: /productivity/100
posted at: 13:54

Search this site

Navigation

Metadata

Home About Resume My Code (SVN)

Articles

ARP Security Dynamic DNS with DHCP OpenLDAP+Kerberos+SASL PPP over SSH SSH Security: /bin/false Week of Unix Tools Work Efficiency

Projects

fex firefox tabsearch firefox urledit grok keynav liboverride newpsm (FreeBSD) nis2ldap pam_captcha poor man's backup Solaris audio utility xboxproxy xdotool xmlpresenter xpathtool misc scripts

Presentations

Yahoo! Hack Day '08 Yahoo! Hack Day '06 Unix Essentials Vi/Vim Essentials SSH Tunneling (Video)

Tag Cloud

Calendar

< February 2004 >
SuMoTuWeThFrSa
1 2 3 4 5 6 7
8 91011121314
15161718192021
22232425262728
29      

Friends

BarCamp Kent Brewster Tantek Çelik John Resig Wesley Shields Tyler Shields

Technorati