X-Git-Url: https://code.delx.au/dotfiles/blobdiff_plain/4bf9b1aee1cfb2293c98ced232d72a9d70b60599..fa3c00e8c7773426e698bc704febd8e9d70484fd:/.vim/indent.vim diff --git a/.vim/indent.vim b/.vim/indent.vim index 62d351a..1219c79 100644 --- a/.vim/indent.vim +++ b/.vim/indent.vim @@ -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