- Git (1.8+ recommended)
- Mercurial (1.6+ recommended)
- Vim (7.3+ recommended)
- Tree
- Pygments
- xmllint
Optional, but recommended:
The bootstrapper will back up all your existing files before it installs anything new, it'll also warn you if a dependency isn't met.
$ bash < <( curl https://raw.github.com/gf3/dotfiles/master/bootstrap.sh )
Don't worry, all your old files will be backed up!
Run the bootstrapper again!
$ ~/.dotfiles/bootstrap.sh
Overview of the vim setup. Sensible defaults for all the things!
Reference to vim mappings.
,a=Tabularize on assignment (=),a=>Tabularize on hash rocket keys (=>),a:Tabularize on hash/object/dict keys (:),a,Tabularize on comma (,),cToggle invisibles.,lsShow buffers (same as:buffers).,pToggle paste mode.,qsToggle search highlight.,qqClose Quickfix window (think Ack.vim).,rpToggle Rainbow Parenthesis.,ssStrip all trailing whitespace in buffer.,WSudo write!YYank from cursor to end of line (same asy$).,*Replace word under cursor.,]Indent current block.,[Outdent current block.,⏎Insert newline.'Actually calls`for better mark jumping (line + column).JJoin lines and restore cursor position.
Some handy aliases for hard to type things that I use often:
>>to→<<to←^^to↑VVto↓aatoλ
As well ↑, ↓, ⏎, and ⎋ may be used in completions menus. <PageUp> and <PageDown> work in both insert and command mode.
+Increase split size.-Decrease split size.^jGo to split below.^kGo to split above.^hGo to split left.^lGo to split right.
:WAlias to:wbecause I'm always typing it.:RGet the output of shell commands.
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
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>.
Most of the shell junk is setup to work in both zsh and bash. Bash users should see .bash_profile and .bash_prompt.
Check out .aliases
Additional useful scripts bundled:
- ack
- bookmarklet
A modified version of Menlo is available in .fonts for use with powerline.vim.
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
Sensible configurations exist for:
- Ack
- Awesome Print
- RubyGems
- Git
- IRB
- TMUX
- Vim
- GVim / MacVim
...and more!