summaryrefslogtreecommitdiffstats
path: root/init-optional
blob: 53e8fc6b00a124ab52fe6c0d15e4cd1f36169947 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# optional (but recommended) vim plugins
optional () {
	# makegreen:
	#   test results integration
	# Tagbar (possible alternative TagList):
	#   "code navigator" incl. JS support if jsctags installed
	# Fugitive:
	#   Cooperates with git
	# Powerline
	#   Coolness added to the vim awesomeness
	# NERD Tree
	#   Convenient access to filesystem
	init_git_submodule $1   \
		'git-makegreen' \
		'git-tagbar'    \
		'git-fugitive'  \
		'git-powerline' \
		'git-nerdtree'  \
                'git-sessionman'

	[ "$1" == "get" ] && echo "let NERDTreeIgnore = ['\.pyc$', '\.tar\.gz$']" >> ~/.vimrc
}
init_register optional