diplofocus / dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation

Prerequisites

  • Git (1.7+)
  • Vim (7.3+)
  • ctags

Mac:

  • [Homebrew][homebrew] - ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
  • [MacVim][macvim] - brew install macvim
  • [Homesick][homesick] - gem install homesick
  • [ctags][ctags] - brew install ctags-exuberant

Vim

Overview of my vim setup. Sensible defaults!

Mappings

Reference to vim mappings.

General

  • , keyleader.
  • <Leader>cd Switch to the directory of the open buffer.
  • <C-l> Enable/Disable list.
  • <Leader>al Quick aligning to left.
  • <Leader>ar Quick aligning to right.
  • <Leader>ac Quick aligning to center.
  • <Leader>ff Toggle indention mode.
  • <Leader>ss Toggle Spell checking
  • <Leader>sn Spell checking (Next word)
  • <Leader>sp Spell checking (Previews word)
  • <Leader>s? Spell checking (Show list)
  • <Leader>tw Set text wrapping toggles.
  • <Enter> Turn off search highlighting.
  • <spacebar> spacebar create/open/close folding.
  • jj Map escape key to jj.

Plugins

  • <Leader>B buffergator
  • <Leader>ca calendar
  • <Leader>u Gundo
  • <C-o> NERDTree
  • <C-e> Emmet
  • <C-Space> YouCompleteMe: Display preview window
  • <Tab> Ultisnips: Expand snippers
  • <C-Tab> Ultisnips: Display list of snippers

Commands

  • :w! Sudo write!

Plug-Ins

About


Languages

Language:Vim Script 96.2%Language:Shell 3.8%