diff options
author | Max Christian Pohle | 2017-08-04 14:11:45 +0200 |
---|---|---|
committer | Max Christian Pohle | 2017-08-04 14:11:45 +0200 |
commit | 395f8d32166d598f2899cc388948d5d9a6824c9b (patch) | |
tree | 2d4d49ef022c8f7cf2884464bde959c6a04684d2 /vimrc-full | |
parent | dc6c04568d9a9f4d4d9c66527f1d9e91b3bfd4b7 (diff) | |
download | vim-395f8d32166d598f2899cc388948d5d9a6824c9b.tar.bz2 vim-395f8d32166d598f2899cc388948d5d9a6824c9b.zip |
Started using smartindent to better match coding style
Diffstat (limited to 'vimrc-full')
-rw-r--r-- | vimrc-full | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -26,7 +26,6 @@ set nocursorcolumn | " turn visual cursor column off (improves perfor | |||
26 | set nrformats+=alpha | " allows CTRL-A & CTRL-X to increment and decrement letters, not just numbers | 26 | set nrformats+=alpha | " allows CTRL-A & CTRL-X to increment and decrement letters, not just numbers |
27 | set nofoldenable | " disable folding, because we have zi to toggle foldenable :) | 27 | set nofoldenable | " disable folding, because we have zi to toggle foldenable :) |
28 | set exrc | " enable exrc, a specific .exrc per project, which can contain usual .vimrc commands | 28 | set exrc | " enable exrc, a specific .exrc per project, which can contain usual .vimrc commands |
29 | set noequalalways | " do not evenly size windows when opening new or closing old | ||
30 | set foldmethod=syntax | " foldlevel: syntax, indent, manual | 29 | set foldmethod=syntax | " foldlevel: syntax, indent, manual |
31 | set foldcolumn=0 | " I think I don't need this second indicator | 30 | set foldcolumn=0 | " I think I don't need this second indicator |
32 | set foldclose=all | " automatically fold, when the cursor leaves the folded area | 31 | set foldclose=all | " automatically fold, when the cursor leaves the folded area |
@@ -65,6 +64,11 @@ set virtualedit=all | " virtual edit should be default behaviour, beca | |||
65 | set writedelay=0 | 64 | set writedelay=0 |
66 | set wildmenu | " use a menu in the command line | 65 | set wildmenu | " use a menu in the command line |
67 | set wildmode=longest:full | " do not preselect any entry and show all possible | 66 | set wildmode=longest:full | " do not preselect any entry and show all possible |
67 | |||
68 | set nocindent smartindent | " use smart indent rather then cindent | ||
69 | set noshiftround | " indent/unindent sna=ps to multiple of shiftwidths | ||
70 | set equalalways | " do not evenly size windows when opening new or closing old | ||
71 | set nocursorline | " turn visual cursor line off (improves performance) | ||
68 | "======================================================================================================================= | 72 | "======================================================================================================================= |
69 | 73 | ||
70 | " START: LOADING PLUGINS | 74 | " START: LOADING PLUGINS |