setekhid / _vim

my ~/.vim folder, for now I use vim to write golang and haskell mainly. and a few c/c++ files. merlin is a great project, I use it before and you just need uncomment it to write ocaml.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#!/bin/sh

# fetching all git sub modules
git submodule update --init --recursive

# install ctags for tagbar
brew install ctags

# build c environment
brew install \
	cscope \
	clang

# build golang environment
brew install golang
GOPATH="~/.GOPATH"
PATH="$PATH:$GOPATH/bin"
mkdir -p $GOPATH
vim	\
	-c 'GoInstallBinaries' \
	-c 'qa'

# build haskell environment
brew install haskell-stack
PATH="$PATH:$HOME/.local/bin"
stack setup
stack install \
	ghc-mod \
	hdevtools
( \
	cd bundle/lushtags && \
	stack setup && \
	stack build && \
	stack install \
)

# install shellcheck for syntastic
brew install shellcheck

# build ocaml environment (drafts)
# brew install ocaml opam
# opam init
# opam install merlin

# link .vimrc and .gvimrc
ln -s .vim/_vimrc ~/.vimrc
ln -s .vim/_gvimrc ~/.gvimrc

About

my ~/.vim folder, for now I use vim to write golang and haskell mainly. and a few c/c++ files. merlin is a great project, I use it before and you just need uncomment it to write ocaml.


Languages

Language:Python 64.6%Language:Vim Script 35.4%