summaryrefslogtreecommitdiffstats
path: root/init-optional
blob: c2ad038fb56ecee040121b970f7ed2e856daeb02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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
	# SessionMan
	#   ???
	# MinibufExpl
	#   key thing
	init_git_submodule $1    \
		'git-makegreen'  \
		'git-tagbar'     \
		'git-fugitive'   \
		'git-powerline'  \
		'git-nerdtree'   \
		'git-sessionman' \
		'git-minibufexpl'

	[ "$1" == "get" ] \
	  && echo "let NERDTreeIgnore = ['\.pyc$', '\.tar\.gz$']" >> ~/.vimrc
	  && ln -s git-powerline/powerline/bindings/vim link-powerline
}
init_register optional