This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
configuration:vim [2015/07/23 10:25] sjorge |
configuration:vim [2015/11/18 10:13] sjorge |
||
---|---|---|---|
Line 16: | Line 16: | ||
set wrap " Turn on line wrapping. | set wrap " Turn on line wrapping. | ||
set modeline " Allow per file config | set modeline " Allow per file config | ||
+ | set bg=dark " pastel colors | ||
set expandtab " expand tabs to spaces | set expandtab " expand tabs to spaces | ||
- | set shiftwidth=2 " set index to 2 spaces | + | set shiftwidth=4 " set index to 4 spaces |
- | set softtabstop=2 " tab inserts 2 spaces | + | set softtabstop=4 " tab inserts 4 spaces |
set autoindent " auto indent | set autoindent " auto indent | ||
+ | |||
+ | set paste " help with pasting | ||
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o | autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o | ||
</file> | </file> |