My vim configuration
Vim script
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
autoload
bundle
colors
doc
ftdetect
plugin
syntax
.gitignore
.gitmodules
README.md
vimrc.conf

README.md

Quick 'n easy Installation

curl -s https://pgib.me/install/vim | sh

Neck-beard installation

cd ~
git clone https://github.com/pgib/pgib-vim-config.git .vim
cd .vim
git submodule update --init
cd ..
ln -s .vim/vimrc.conf .vimrc

Updating

Once you've installed as per above, you can update like so:

cd ~/.vim
git pull && git submodule update --init

Notable Features

NERDTree activation/deactivation with ,, (or specifically <Leader>,).

NERDTree


BufExplorer for seeing, managing, and switching between buffers. <Leader>bb.

BufExplorer


Easily switch between split windows using the ` (backtick).

split windows


Want to make changes to your ~/.vimrc? Easy: <Leader>ev:

easily edit config

Then apply the changes with <Leader>sv. (Shout-out to @flyingoctopus for this gem.)


Other highlights:

Key-combo Description
<Leader> The Vim Leader key is ,
<Leader>c Copy to system clipboard (Mac OS X only)
<Leader>v Paste from system clipboard (Mac OS X only)
F1 Line number toggle
F2 Paste-mode (disables auto intent/comment) toggle
F4 Close buffer (:close)
F5 Toggle between relative and regular line numbers
Ctrl-n Next buffer
Ctrl-p Previous buffer
n Next match from search and pulse the cursor line
N Previous match from search and pulse the cursor line
<Leader>cc Comment the line/selection
<Leader>cu Uncomment the line/selection
Ctrl-w o Zoom in and out of the current window
<Leader>A Search the Git root for the current word or visual selection using vim-ackmore