This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
configuration:vim [2015/08/01 12:37] 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 | ||
Line 21: | Line 22: | ||
set softtabstop=4 " tab inserts 4 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> |