Archive for May, 2007
for vim user
If you use Vim, you can enable tabs to be automatically converted to four spaces so that you do not have to enter four spaces each time yourself. You can also enable smart indentation to allow automatic indentation for subsequent statements of the same block.
To enable these features, you can put the following lines in the .vimrc in your home directory:
" Indentation set smartindent " Tabs to 4-spaces set shiftwidth=4 set tabstop=4 set expandtab set smarttab
Add comment May 26, 2007