diff options
author | Max Christian Pohle | 2017-11-01 07:22:09 +0100 |
---|---|---|
committer | Max Christian Pohle | 2017-11-01 07:22:09 +0100 |
commit | 6b6506639a059e63cc04cc65602845834482fa65 (patch) | |
tree | aac6e71fcd6bb0178f212df14cb6592a79d95e27 /ftplugin | |
parent | 236c2f9cb84103a245966f02082b499d9f7867fc (diff) | |
download | vim-karlmarks-6b6506639a059e63cc04cc65602845834482fa65.tar.bz2 vim-karlmarks-6b6506639a059e63cc04cc65602845834482fa65.zip |
Turned line numbers off and started using ftplugin for that
Diffstat (limited to 'ftplugin')
-rw-r--r-- | ftplugin/c.vim | 1 | ||||
-rw-r--r-- | ftplugin/nerdtree.vim | 1 |
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 | |||