]> code.delx.au - dotfiles/blobdiff - .vim/indent.vim
Gratuitous restructuring of vim config
[dotfiles] / .vim / indent.vim
index eeb91b0609a265247265a19cb58bb046727f85ed..b5c6667d0964b80ab288f4f4dd3f402b1008f9db 100644 (file)
@@ -6,8 +6,6 @@ set autoindent
 set copyindent
 " Automatically indent new lines after specific keywords or braces
 set smartindent
-" Indent if the line starts with these words
-set cinwords+=def,class,except,try
 " Don't jump to the start of a line when typing #
 inoremap # X<c-h>#
 
@@ -18,13 +16,6 @@ set tabstop=4
 set softtabstop=4
 set shiftwidth=4
 
-" set [no]expandtab to [not] use spaces
-"function SetTabs(n)
-"      exec "set tabstop=" . a:n
-"      exec "set softtabstop=" . a:n
-"      exec "set shiftwidth=" . a:n
-"endfunction
-
 " Use :retab to change the file to entirely space indents
 " Use :retab! to change the file to entirely tab indents