Sun, 16 Apr 2006Note to self, use autoindent instead of cindent.
I use cindent in vim. cindent is very useful. However, it breaks a lot of the
time, especially when not in C-style languages (perl, etc). It indents "how I
want" 90% of the time, the other 10% it does it incorrectly or when I don't
want it to so.
If I can find time tomorrow, I'd like to write a few magic-indentation
keybindings so I can easily do certain kinds of indentation the way I want, and
only when I want. Most of the time, autoindent is all I need anyway.
I'll post any scripts I come up with here when they're done.
Comments: 0 (view comments)
0 responses to 'Note to self, use autoindent instead of cindent.'Leave a reply
You need javascript enabled to use this form. Anti-spam efforts ongoing. Also,
if the comment doesn't show up, it's because the form expired. Go back and copy
your comment, reload the form, and resubmit. Apologies if this is a hassle, I'm
just playing with antispam methods right now. If this insists on not working,
please email me about it.
|
Search this siteNavigationMetadataHome About Resume My CodeArticlesARP Security Dynamic DNS with DHCP OpenLDAP+Kerberos+SASL PPP over SSH SSH Security: /bin/false Week of Unix Tools Work EfficiencyProjectsfex firefox tabsearch firefox urledit grok keynav liboverride newpsm (FreeBSD) nis2ldap pam_captcha poor man's backup Solaris audio utility xboxproxy xdotool xmlpresenter xpathtool misc scriptsPresentationsYahoo! Hack Day '06 Unix Essentials Vi/Vim EssentialsTag CloudCalendar
FriendsBarCamp Kent Brewster Tantek Çelik John Resig Wesley Shields Tyler ShieldsTechnorati |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||