netpoetica / dotvim

Fork of awesome dotvim setup but w my flavors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotvim

NOTE: make a backup of ~/.vimrc, ~/.vim, ~/.gvimrc etc. For example

What about this?

mv ~/.vimrc ~/.vimrc.bkup
mv ~/.vim ~/.vim.bkup
mv ~/.gvimrc ~/.gvimrc.bkup

Installation

  1. git clone https://github.com/netpoetica/dotvim.git
  2. cd dotvim
  3. git submodule init
  4. git submodule update
  5. Backup any existing VIM configuration
  6. ./install

Note: install script will create a ~/.vim/swaps and ~/.vim/backups dir (if they dont exist) in order to keep swap files centralized.

Note: after adding any new pathogen plugins, be sure to run :Helptags to generate help docs. See: http://usevim.com/2012/12/21/vim-101-help-tags

Additionally, you can add ignore = dirty to individual modules who have helptags generated.

Additional Deps

In order to use ctags with tagbar plugin, you'll also need to install the following:

brew install ctags-exuberant
// See: http://majutsushi.github.io/tagbar/

go get -u github.com/jstemmer/gotags
// See: https://github.com/jstemmer/gotags

In order to use syntastic, syntax checkers for appropriate languages must be installed. See https://github.com/scrooloose/syntastic/wiki/Syntax-Checkers for example syntax checkers. I usually use:

npm install -g jshint
npm install -g jscs

You can see what checkers are available by running :SyntasticInfo from vim. Additionally, you can manually run a checker using :SyntasticCheck jscs, with jscs for example.

How to Install a New Plugin

git submodule add https://github.com/<USER>/<REPO>.git bundle/<REPO>

Helpful Docs

Vim Tips and Commands

Mapping Vim Keys

Git Gutter - Shows Git repo changes

Airline - Status Bar plugin

vim.org - The mothership

Vim Commands from @snuggs

Uninstall

To uninstall, run the following three commands:

  1. unlink ~/.vim
  2. rm -rf ~/.vim/backups
  3. rm -rf ~/.vim/swaps

About

Fork of awesome dotvim setup but w my flavors


Languages

Language:Vim Script 95.7%Language:Shell 4.3%