From 035419eda83a28d16c249eeb82bfc7d5cdd23365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Mon, 9 Mar 2015 09:25:21 +0100 Subject: [PATCH] Added NERDtree plugin --- bundles-init/nerdtree.cfg.vim | 6 ++++++ bundles-init/nerdtree.load.vim | 1 + doc/heavim.txt | 1 + 3 files changed, 8 insertions(+) create mode 100644 bundles-init/nerdtree.cfg.vim create mode 100644 bundles-init/nerdtree.load.vim diff --git a/bundles-init/nerdtree.cfg.vim b/bundles-init/nerdtree.cfg.vim new file mode 100644 index 0000000..0036dcc --- /dev/null +++ b/bundles-init/nerdtree.cfg.vim @@ -0,0 +1,6 @@ +" NERDTree: ' e' = toggle side bar +nnoremap e :NERDTreeToggle + +" Open automatically if there are more than 150 columns and no file was specified +autocmd VimEnter * if argc() == 0 && &columns > 150 | NERDTree | endif + diff --git a/bundles-init/nerdtree.load.vim b/bundles-init/nerdtree.load.vim new file mode 100644 index 0000000..50c5513 --- /dev/null +++ b/bundles-init/nerdtree.load.vim @@ -0,0 +1 @@ +NeoBundle 'scrooloose/nerdtree' diff --git a/doc/heavim.txt b/doc/heavim.txt index 2666836..750c19b 100644 --- a/doc/heavim.txt +++ b/doc/heavim.txt @@ -41,3 +41,4 @@ local leader key. pi CtrlP: directory t Toggle tagbar + e Toggle NERDtree explorer