In my day to day workflow I normally come in to contact with html / code that was initially created through some gui software client Dreamweaver, etc. It’s a real headache dealing with the differences of depth when dealing with indentations. I’m finding the following settings, in VIM, pretty helpful
set expandtab " use spaces in place of tabs.
set tabstop=8 " number of spaces for a tab.
set softtabstop=4 " number of spaces for a tab in editing operations.
set shiftwidth=4 " number of spaces for indent (>>, <<, ...)
The credit goes to vim.wikia.com
One Comment
new website look simple and straight forward i like it. how have you been man and are you running the new mac os x?
Post a Comment