aboutsummaryrefslogtreecommitdiff
path: root/ftplugin/nerdtree.vim
diff options
context:
space:
mode:
authorMax Christian Pohle2017-11-01 07:22:09 +0100
committerMax Christian Pohle2017-11-01 07:22:09 +0100
commit6b6506639a059e63cc04cc65602845834482fa65 (patch)
treeaac6e71fcd6bb0178f212df14cb6592a79d95e27 /ftplugin/nerdtree.vim
parent236c2f9cb84103a245966f02082b499d9f7867fc (diff)
downloadvim-karlmarks-6b6506639a059e63cc04cc65602845834482fa65.tar.bz2
vim-karlmarks-6b6506639a059e63cc04cc65602845834482fa65.zip
Turned line numbers off and started using ftplugin for that
Diffstat (limited to 'ftplugin/nerdtree.vim')
-rw-r--r--ftplugin/nerdtree.vim1
1 files changed, 1 insertions, 0 deletions
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
..