Skip to content

CodisRedding/vim-settings

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

There Be Wizards In Here!

My current vim setup.

Inspired by gtanner's vim config. Uses Pathogen. See Bundles.

Requirements

  • Vim
  • Git
  • NodeJS/NPM
  • Ack

Installation

 # clone the repo into a local directory of your choice (~ used in this example)
 cd ~
 git clone git://github.com/fourq/vim-settings.git
 ln -s vim-settings/.vimrc
 ln -s vim-settings/.vim
 cd vim-settings
 ./configure

Submodules

This setup uses several git repositories as submodules. The configure script sets up the submodules for you initially but you might need/want to pull the latest versions of each submodule at some point. To pull them all at once use the command below.

 # cd to install directory (~/vim-settings for this example)
 cd ~/vim-settings
 git submodule foreach git pull

Common Commands

space

Search.

jj

Escape insert mode.

\s,\S

Toggle spell check.

ctrl-p

Runs :CtrlPMixed.

ctrl-n

Runs :CtrlPBuffer.

ctrl-mm

Runs :NerdTreeToggle.

ctrl-h,j,k,l

Move around windows.

ctrl-V

Paste from clipboard.

Ack WORD

Search and display entries.

Syntastic

The configure script handles installing some packages.

However, be sure to install them:

https://github.com/scrooloose/syntastic/wiki/Syntax-Checkers

Ack Plugin

Install via: http://beyondgrep.com/install

You might also need to:

alias ack="ack-grep"

In your .bashrc.

Adding Custom Commands Per Directory

If you have a .vim.custom file in the CWD, it will be evaluated (last).

Other References

About

My current vim setup.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 93.3%
  • Shell 6.7%