aboutsummaryrefslogtreecommitdiff
path: root/vimrc.dot.link
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc.dot.link')
-rw-r--r--vimrc.dot.link3
1 files changed, 3 insertions, 0 deletions
diff --git a/vimrc.dot.link b/vimrc.dot.link
index 4eb0bf5..2924fae 100644
--- a/vimrc.dot.link
+++ b/vimrc.dot.link
@@ -95,6 +95,9 @@ map m :q! <CR>
"autocmd VimEnter * NERDTree
"autocmd VimEnter * wincmd p
+autocmd FileType nerdtree set relativenumber
+autocmd FileType taglist set relativenumber
+
function OpenNERDTree()
execute ":NERDTree"
endfunction