summaryrefslogtreecommitdiffstats
path: root/init-optional
blob: d1a7d1f27de37bea841fb71ab03e837e5bdb23ab (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
34
# 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'         \
                'git-switch'

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