Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
My dotfiles
VimL Perl Python Shell Other
branch: master

This branch is 37 commits ahead, 146 commits behind gf3:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.fonts
.hgext
.oh-my-zsh @ bd00365
.rbenv @ 01a0ad0
.scripts
.vim
.ackrc
.aliases
.aprc
.bash_profile
.bash_prompt
.commonrc
.functions
.gemrc
.gitattributes
.gitconfig
.gitignore_global
.gitmodules
.gvimrc
.hgignore
.hgrc
.hushlogin
.inputrc
.irbrc
.tmux.conf
.vimrc
.zshrc
Gemfile
Gemfile.lock
README.md
Rakefile
bootstrap.sh

README.md

This is a fork of gf3's dotfiles.

Installation

Prerequisites

  • Git (1.7+)
  • Mercurial (1.6+)
  • Ruby (1.9 recommended) and RubyGems
  • Vim (7.3+)
  • Tree

Optional, but recommended:

Bootstrapper

The bootstrapper depends on three things: ruby, rake, and bundler. Assuming you have ruby and ruby gems installed on your system: gem install rake bundler.

Then:

$ zsh < <( curl https://raw.github.com/waeltken/dotfiles/master/bootstrap.sh )

Don't worry, all your old files will be backed up!

Stay Updated

Run the bootstrapper again!

$ ~/.dotfiles/bootstrap.sh

Vim

Overview of the vim setup. Sensible defaults for all the things!

Mappings

Reference to vim mappings.

General

  • ,c Toggle invisibles.
  • ,ls Show buffers (same as :buffers).
  • ,p Toggle paste mode.
  • ,qs Toggle search highlight.
  • ,qq Close Quickfix window (think Ack.vim).
  • ,rp Toggle Rainbow Parenthesis.
  • ,ss Strip all trailing whitespace in buffer.
  • ,W Sudo write!
  • Y Yank from cursor to end of line (same as y$).
  • ,* Replace word under cursor.
  • ,] Indent current block.
  • ,[ Outdent current block.
  • ,⏎ Insert newline.
  • ' Actually calls ` for better mark jumping (line + column).
  • J Join lines and restore cursor position.

Some handy aliases for hard to type things that I use often:

  • >> to
  • << to
  • ^^ to
  • VV to
  • aa to λ

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.

Commands

  • :W Alias to :w because I'm always typing it.
  • :R Get the output of shell commands.

Plugins

Installed plugins and syntax files.

  • Ack
  • Clojure
  • Cocoa
  • CoffeeScript
  • CSS-color
  • CtrlP
  • Fish
  • Gist
  • Haml
  • Handlebars
  • Indent Guides
  • Jade
  • Javascript
  • Markdown
  • Nerdcommenter
  • Nu
  • Powerline
  • Pathogen
  • Racket
  • Rails
  • Rainbow Parenthesis
  • Repeat
  • Ruby
  • Scala
  • Slim
  • Snipmate
  • Stylus
  • Surround

iPad

Rudimentary support for vim on the iPad has been added via usage of the xterm-ipad $TERM value. In this mode <Tab> is <Esc> and ,<Tab> is <Tab>.

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

Fonts

A modified version of Menlo is available in .fonts for use with powerline.vim.

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

...and more!

Something went wrong with that request. Please try again.