Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

All my bash / vim / ... stuff

branch: master

fixes

latest commit 6e826ea95b
dev@engagor.com authored
Octocat-spinner-32 .bash fixes
Octocat-spinner-32 .vim fixes
Octocat-spinner-32 .ackrc latest vimrc changes
Octocat-spinner-32 .bash_profile initial commit
Octocat-spinner-32 .bashrc fixes
Octocat-spinner-32 .ctags fixed phpcomplete and autocomplete for php
Octocat-spinner-32 .gitignore cleanup
Octocat-spinner-32 .gitmodules fixes
Octocat-spinner-32 .gvimrc better vim setup
Octocat-spinner-32 .vimrc stuff
Octocat-spinner-32 README.markdown Changed the meaning of the intro sentence to reflect what's actually …
README.markdown

Vim

Below you can find an overview of all the Vim goodness packed in the vim dotfiles.

Cheat Sheet

The default map leader \ can be changed to , in your .vimrc, by setting: let mapleader = ","

Navigation

  • <Leader>t Goto File (FuzzyFinder)
  • <Leader>p Goto Function in File (FuzzyFinder)
  • <Leader>w Goto Word (EasyMotion)
  • <Leader>b Goto Buffer (FuzzyFinder)
  • <S-right> Goto Next Buffer
  • <S-left> Goto Previous Buffer
  • <Leader>r Show Tags in File (TagList)
  • <Leader>f Find in Files (Ack)

Coding

  • <C-Space> Intelligent Omni Completion
  • <C-y> Zen Coding Expand Abbreviation (ZenCoding)
  • <Leader>z Use the Zend Code Analyzer for PhP syntax checking (vim-zendcodeanalyzer)
  • <tab> Activate Snippet (UltiSnips)

Editing

  • <Leader>g Visualize Undo Tree (Gundo)
  • <Leader>y Show YankRing
  • p Paste last entry from paste buffer
  • <C-p> Cycle though older entries in paste buffer (YankRing)
  • % Find matching brackets, tags, … (Matchit)

General

  • <Leader>q Quit Vim
  • <Leader>x Close Current Buffer
  • <Leader>c Regenerate ctags
  • <Leader>s Execute ./sync (put whatever in there that's needed for syncing with your staging environment)

Commands

  • :FixNewLines Fixes all line endings
  • :w!! Saves the file through sudo
  • :Hammer Preview markdown and other formats in your browser (Hammer)
  • All the G… commands, too many to list here :-) (Fugitive)

Beautifiers

  • CSApprox Make gvim-only colorschemes work transparently in terminal vim
  • Colorizer colorize hex color values in css files
  • MiniBufExpl Get a nice looking tab bar on top showing active buffers

Invisible Super Heroes

  • PhpComplete Fixes omni completion for PhP
  • Syntastic Syntax Checking for a variety of file types when saving
  • AutoTag Automagically updates your tags file
  • delimitMate Automatically add closing brackets

File Types

Color Schemes

Something went wrong with that request. Please try again.