summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-01-02 11:56:50 +0100
committerJan Pokorný <jpokorny@redhat.com>2013-01-02 11:56:50 +0100
commit7dff18b27d6a7f5b95615140123a87b65e6cb751 (patch)
treed0562c8a93b78e195119467e5c5d90632ee52b06
parent36c06c12b771a729e570921f3f1e73754de53282 (diff)
downloadvim4projects-7dff18b27d6a7f5b95615140123a87b65e6cb751.tar.gz
vim4projects-7dff18b27d6a7f5b95615140123a87b65e6cb751.tar.xz
vim4projects-7dff18b27d6a7f5b95615140123a87b65e6cb751.zip
optional: NERDTree: do not show pyc files (untested)
References: http://stackoverflow.com/a/5601830 Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r--init-optional2
1 files changed, 2 insertions, 0 deletions
diff --git a/init-optional b/init-optional
index f460093..7a1b146 100644
--- a/init-optional
+++ b/init-optional
@@ -17,5 +17,7 @@ optional () {
'git-powerline' \
'git-nerdtree' \
'git-sessionman'
+
+ [ "$1" == "get" ] && echo "let NERDTreeIgnore = ['\.pyc$']" >> ~/.vimrc
}
init_register optional