aboutsummaryrefslogtreecommitdiff
path: root/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/c.vim1
-rw-r--r--ftplugin/nerdtree.vim1
2 files changed, 2 insertions, 0 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
..