diff options
-rw-r--r-- | ftplugin/c.vim | 1 | ||||
-rw-r--r-- | ftplugin/nerdtree.vim | 1 | ||||
-rw-r--r-- | vimrc-full | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/ftplugin/c.vim b/ftplugin/c.vim new file mode 100644 index 0000000..d4c9199 --- /dev/null +++ b/ftplugin/c.vim | |||
@@ -0,0 +1 @@ | |||
set number | |||
diff --git a/ftplugin/nerdtree.vim b/ftplugin/nerdtree.vim new file mode 100644 index 0000000..62f5e5b --- /dev/null +++ b/ftplugin/nerdtree.vim | |||
@@ -0,0 +1 @@ | |||
autocmd! WinNew,WinEnter,WinLeave * if exists("t:NERDTreeBufName") && bufwinnr(t:NERDTreeBufName) == bufwinnr('%') | setlocal statusline=NERDTree | endif | |||
@@ -13,7 +13,7 @@ set exrc | " enable exrc, a specific .exrc per project, | |||
13 | set textwidth=120 | " better done with modeline or local exrc | 13 | set textwidth=120 | " better done with modeline or local exrc |
14 | set ts=4 sts=4 sw=4 expandtab | " better done with a modeline or local exrc | 14 | set ts=4 sts=4 sw=4 expandtab | " better done with a modeline or local exrc |
15 | set virtualedit=all | " virtual edit should be default behaviour, because I don't see any reason against | 15 | set virtualedit=all | " virtual edit should be default behaviour, because I don't see any reason against |
16 | set number norelativenumber | " turn line numbers on/off (performance decreases when they are shown) | 16 | set nonumber norelativenumber | " do not show numbers by default, because that causes a performance loss, instead activate them on a filetype basis |
17 | set ignorecase smartcase hlsearch | " search with ignorecase by default, but use case sensitive search when one captical char is contained and highlight while typing (even though its slower) | 17 | set ignorecase smartcase hlsearch | " search with ignorecase by default, but use case sensitive search when one captical char is contained and highlight while typing (even though its slower) |
18 | 18 | ||
19 | "======================================================================================================================= | 19 | "======================================================================================================================= |