summaryrefslogtreecommitdiffstats
path: root/init-optional
blob: 7a1b1463b188e452a42a8774fdc3a2f64c3573e8 (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$']" >> ~/.vimrc
}
init_register optional