Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
My dotfiles
VimL Shell Perl Makefile Ruby
branch: master

This branch is 171 commits ahead, 251 commits behind gf3:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
conf
includes
scripts
.gitignore
.gitmodules
Gemfile
Gemfile.lock
README.md
Rakefile

README.md

Warning:

Most everything you ready below is probably wrong, I've re-organized my files and haven't update the README to reflect that

Installation

Quick Note

All original work was done by gf3, additional configs from mathiasbynens These are just my customizations which are very Mac (Snow Leopard) centric. Check out the original work done at https://github.com/gf3/dotfiles

Prerequisites

  • Git (1.7+)
  • Mercurial (1.6+)
  • Ruby (1.9 recommended) and RubyGems
  • Vim (7.3+ with +ruby, I recommend using MacVim. Install the mvim script and ln -s mvim vim to use the MacVim's vim)
  • Tree
  • Exuberant ctags - Tagbar requires Exuberant ctags (http://ctags.sourceforge.net/) in at least version 5.5 to work.

Optional, but recommended:

Install

git clone --recursive git://github.com/rtgibbons/dotfiles.git ~/.dotfiles
~/.dotfiles/scripts/dotfiles

Update

~/.dotfiles/scripts/dotfiles

Vim

Overview of my vim setup. Sensible defaults!

Mappings

Reference to vim mappings.

General

  • ,c Toggle invisibles.
  • ,ls Show buffers (same as :buffers).
  • ,n Toggle NERD Tree file explorer.
  • ,p Toggle paste mode.
  • ,qs Toggle search highlight.
  • ,qq Close Quickfix window (think Ack.vim).
  • ,ss Strip all trailing whitespace in buffer.
  • ,W Sudo write!
  • Y Yank from cursor to end of line (same as y$).
  • ,] Indent current block.
  • ,[ Outdent current block.
  • ,⏎ Insert newline.

As well , , , and may be used in completions menus. <PageUp> and <PageDown> work in both insert and command mode.

Splits

  • + Increase split size.
  • - Decrease split size.
  • ^j Go to split below.
  • ^k Go to split above.
  • ^h Go to split left.
  • ^l Go to split right.

Markdow

  • ,mp Preview markdown buffer with Github styles.
  • ,mf Render markdown buffer to html in a file.
  • ,mt Render markdown buffer to html in a tab.

Commands

  • :W Alias to :w because I'm always typing it.

Plugins

Installed plugins and syntax files.

  • Ack
  • Cocoa
  • Command-T
  • CSS-color
  • Gist
  • Haml
  • Histwin
  • Jade
  • Javascript
  • Markdown
  • Nerdcommenter
  • Nerdtree
  • Pastie
  • Pathogen
  • Repeat
  • Snipmate
  • Sparkup
  • Surround

Shell

Most of the shell junk is setup to work in both zsh and bash. Bash users should see .bash_profile and .bash_prompt.

Aliases

Check out .aliases

Scripts

Additional useful scripts bundled:

  • ack
  • bookmarklet

Git

I've included some handy git script additions as well as configution changes. Have a look at .gitconfig to see various aliases and settings.

Additional scripts (see .scripts directory for source):

  • git-publish-branch
  • git-rank-contributors
  • git-rbranch
  • git-review
  • git-show-merges
  • git-wtf

Configurations

Sensible configurations exist for:

  • Ack
  • Awesome Print
  • RubyGems
  • Git
  • IRB
  • TMUX
  • Vim
  • GVim / MacVim
Something went wrong with that request. Please try again.