- Git (1.8+ recommended)
- Mercurial (1.6+ recommended)
- Vim (7.3+ recommended)
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!
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 (,)
,lsShow buffers (same as
,pToggle paste mode.
,qsToggle search highlight.
,rpToggle Rainbow Parenthesis.
,ssStrip all trailing whitespace in buffer.
YYank from cursor to end of line (same as
,*Replace word under cursor.
,]Indent current block.
,[Outdent current block.
`for better mark jumping (line + column).
JJoin lines and restore cursor position.
Some handy aliases for hard to type things that I use often:
⎋ may be used in completions menus.
<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.
:wbecause I'm always typing it.
:RGet the output of shell commands.
Installed plugins and syntax files.
- Indent Guides
- Rainbow Parenthesis
Rudimentary support for vim on the iPad has been added via usage of the
$TERM value. In this mode
Check out .aliases
Additional useful scripts bundled:
If you want to take full advantage of
airline.vim you'll want to install and
use one of the Powerline fonts.
I recommend either
Deja Vu Sans Mono. If you choose something
Meslo don't forget to update your .gvimrc.
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):
Sensible configurations exist for:
- Awesome Print
- GVim / MacVim