Based on fisa-vim-config
git clone http://github.com/trinitronx/dot-vim.git ~/.vim
cd ~/.vim
git submodule update --init fisa-vim-config
ln -s ~/.vim/vimrc ~/.vimrc
vim +BundleInstall +qall
installs all of the plugins
- Hammer.vim requires:
- A vim built with
+ruby
support. (vim --version | grep '+ruby'
) - Same ruby version that vim was compiled against
(RVM users be aware of this add to your.bashrc
or.bash_functions
:
function vim() { unset GEM_PATH GEM_HOME; command vim "$@" }
Runrvm use system
before next step!) - Ruby headers & gems:
sudo apt-get -y install ruby1.9.1-dev
[sudo] gem install github-markup tilt redcarpet
- On Linux, set a default browser:
- A vim built with
# To set the default application for http(s):// links (replace browser.desktop by your browser's .desktop, e.g. firefox.desktop or chromium.desktop):
xdg-mime default browser.desktop x-scheme-handler/http
xdg-mime default browser.desktop x-scheme-handler/https
xdg-mime default browser.desktop text/html
Linux
- Vim
- Debian/Ubuntu:
sudo apt-get install vim-nox
- Debian/Ubuntu:
Mac
- MacVim (with +clientserver)
rvm use system
brew install https://gist.github.com/trinitronx/8348843/raw/3f2146de21ad95f7cc725781fc3952a015f5b1f0/macvim.rb
ln -s /usr/local/bin/mvim /usr/local/bin/vim
git submodule update --init fisa-vim-config
vim +Bundleinstall +qall
for d in $(ls -d1 bundle/*); do git add ${d%/}; done
git commit -m 'Updating all submodules to latest from fisa-vim-config'
- Remove any other plugins that are deprecated or gone from fisa-vim-config
To update all submodules to latest:
git submodule update --init --recursive