]> code.delx.au - dotfiles/blobdiff - .vim/indent.vim
xmonad: default to tabbed layout
[dotfiles] / .vim / indent.vim
index 62d351a83c1ba2c0a58a959de77e546173c42b13..1219c79d1afca4b8988c541f6d4521f8e10788cb 100644 (file)
@@ -5,9 +5,10 @@ set autoindent
 " Keep indentation structure (tabs, spaces, etc) when autoindenting.
 set copyindent
 
-" Tab stuff
+" Expand tab to spaces
+set expandtab
 " Size of a \t
-set tabstop=4
+set tabstop=8
 " Delete this many space chars when pressing backspace
 set softtabstop=4
 set shiftwidth=4
@@ -22,6 +23,9 @@ let g:pyindent_open_paren = &sw
 let g:pyindent_continue = &sw
 let g:vim_indent_cont = &sw
 
+" Single space after full stop
+set nojoinspaces
+
 " Use :retab to change the file to entirely space indents
 " Use :retab! to change the file to entirely tab indents