summaryrefslogtreecommitdiffstats
path: root/init-optional
blob: a3874001c20b74c7086c035812b5a1515c556672 (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
31
32
33
# 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
	# ack.vim
	#   integration with Ack grepping tool
	init_git_submodule $1     \
		'git-makegreen'   \
		'git-tagbar'      \
		'git-fugitive'    \
		'git-powerline'   \
		'git-nerdtree'    \
		'git-sessionman'  \
		'git-minibufexpl' \
                'git-ack'

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