Skip to content

Vim Tabbing

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

  1. andrew wrote:

    new website look simple and straight forward i like it. how have you been man and are you running the new mac os x?

    Wednesday, May 28, 2008 at 9:51 pm | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*