]> code.delx.au - dotfiles/blob - .vim/indent.vim
vim: indent using < and > goes to tabstops instead of +- 4spaces (using expandtabs)
[dotfiles] / .vim / indent.vim
1 " Indentation
2
3 " Automatically continue indentation across lines
4 set autoindent
5 " Keep indentation structure (tabs, spaces, etc) when autoindenting.
6 set copyindent
7
8 " Tab stuff
9 " Size of a \t
10 set tabstop=4
11 " Delete this many space chars when pressing backspace
12 set softtabstop=4
13 set shiftwidth=4
14
15 " < and > will hit indentation levels instead of adding/subtracting shiftwidth
16 set shiftround
17
18 " Use :retab to change the file to entirely space indents
19 " Use :retab! to change the file to entirely tab indents
20