Skip to content

Fork of awesome dotvim setup but w my flavors

Notifications You must be signed in to change notification settings

netpoetica/dotvim

 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 95.7%
  • Shell 4.3%