Saturday, December 20, 2008

VIM - tab size & tab to space setting

to change tab size use this command
:set ts=n
(n=expected size ,ts=tabstop)

to change tab to space use this command
:set et
(et = expandtab)

also invoke it together like this
:set ts=4 et

if you want permanent changing, add command above to file named .vimrc (normally is at your home folder)

No comments:

Clojure how to get JVM options from inside application

(.getInputArguments (java.lang.management.ManagementFactory/getRuntimeMXBean)) Credit:  How to get vm arguments from inside of java applic...