aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ftplugin/c.vim1
-rw-r--r--ftplugin/nerdtree.vim1
-rw-r--r--vimrc-full2
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
diff --git a/vimrc-full b/vimrc-full
index 9283f36..83edbfa 100644
--- a/vimrc-full
+++ b/vimrc-full
@@ -13,7 +13,7 @@ set exrc | " enable exrc, a specific .exrc per project,
13set textwidth=120 | " better done with modeline or local exrc 13set textwidth=120 | " better done with modeline or local exrc
14set ts=4 sts=4 sw=4 expandtab | " better done with a modeline or local exrc 14set ts=4 sts=4 sw=4 expandtab | " better done with a modeline or local exrc
15set virtualedit=all | " virtual edit should be default behaviour, because I don't see any reason against 15set virtualedit=all | " virtual edit should be default behaviour, because I don't see any reason against
16set number norelativenumber | " turn line numbers on/off (performance decreases when they are shown) 16set nonumber norelativenumber | " do not show numbers by default, because that causes a performance loss, instead activate them on a filetype basis
17set 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) 17set 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"=======================================================================================================================
..