aboutsummaryrefslogtreecommitdiff
path: root/vimrc-full
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc-full')
-rw-r--r--vimrc-full7
1 files changed, 6 insertions, 1 deletions
diff --git a/vimrc-full b/vimrc-full
index d2dfa23..ad97b32 100644
--- a/vimrc-full
+++ b/vimrc-full
@@ -36,7 +36,8 @@ set mousemodel=popup | " only in gvim: right click opens a popup-menu
36set nocursorcolumn | " turn visual cursor column off (improves performance) 36set nocursorcolumn | " turn visual cursor column off (improves performance)
37set nocursorline | " turn visual cursor line off (improves performance) 37set nocursorline | " turn visual cursor line off (improves performance)
38set nrformats+=alpha | " allows CTRL-A & CTRL-X to increment and decrement letters, not just numbers 38set nrformats+=alpha | " allows CTRL-A & CTRL-X to increment and decrement letters, not just numbers
39set nofoldenable | " disable code folding. I hate code folding 39set foldenable | " explicitly enable code folding, since this config makes it usable
40set exrc | " enable exrc, a specific .exrc per project, which can contain usual .vimrc commands
40set noequalalways | " do not evenly size windows when opening new or closing old 41set noequalalways | " do not evenly size windows when opening new or closing old
41set foldmethod=syntax | " foldlevel: syntax, indent, manual 42set foldmethod=syntax | " foldlevel: syntax, indent, manual
42set foldcolumn=1 | " if code folding gets used display it in the clutter bar, where line numbers live 43set foldcolumn=1 | " if code folding gets used display it in the clutter bar, where line numbers live
@@ -71,6 +72,7 @@ set tags+=../tags
71" set colorcolumn= | " not used, because we have a :match directive for textwidth 72" set colorcolumn= | " not used, because we have a :match directive for textwidth
72set updatetime=80 | " updates the screen more often 73set updatetime=80 | " updates the screen more often
73set viminfo+=% | " restore buffer list 74set viminfo+=% | " restore buffer list
75set virtualedit=all | " virtual edit should be default behaviour, because I don't see any reason against
74set writedelay=0 76set writedelay=0
75set wildmenu | " use a menu in the command line 77set wildmenu | " use a menu in the command line
76set wildmode=longest:full | " do not preselect any entry and show all possible 78set wildmode=longest:full | " do not preselect any entry and show all possible
@@ -572,6 +574,9 @@ if has("autocmd")
572 autocmd FileType c,cpp setlocal breakat-=- 574 autocmd FileType c,cpp setlocal breakat-=-
573 " autocmd FileType c,cpp setlocal iskeyword-=_ 575 " autocmd FileType c,cpp setlocal iskeyword-=_
574 576
577 " the following helps to make file=/etc/something work with gf, but disallows filenames with an equal sign in them
578 autocmd FileType conf setlocal isfname-==
579
575 " keyboard mapping for xml alike languages 580 " keyboard mapping for xml alike languages
576 " Alt-Up : Move cursor up one tag 581 " Alt-Up : Move cursor up one tag
577 " Alt-Down: Move cursor down one tag 582 " Alt-Down: Move cursor down one tag
..