Talk:Vim

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search

TAB STOPS AND AUTO INDENT OF CODE

:set expandtab
" tabstop:          Width of tab character
" softtabstop:      Fine tunes the amount of white space to be added
" shiftwidth        Determines the amount of whitespace to add in normal mode
" expandtab:        When on uses space instead of tabs
set tabstop=4
set softtabstop=4
set shiftwidth=4
set expandtab
syntax enable
set smartindent
set tabstop=4
set shiftwidth=4
set expandtab
set noautoindent