My dot files yo
Vim script Shell Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
config
mutt/colors
script
vim
zsh
.gitignore
.gitmodules
Brewfile
README.md
ackrc
agignore
aliases
chruby.zsh
ctags
editrc
gdbinit
gemrc
gitconfig
gitignore
inputrc
muttrc
npmrc
nvimrc
nvm.zsh
tmux.conf
vimrc
zshrc

README.md

achiu's dotfiles

Setup

To get it up and running, first pull it down into your $HOME:

$ git clone git@github.com:achiu/dotfiles.git .dotfiles

then you can simply:

$ script/bootstrap

To update, simply run:

$ script/update

Configurations

Vim

This setups vim to use vim-sensible as a base with a few exceptions:

  • sets leader key to ','
  • sets to nocompatible
  • shows line numbers
  • syntax is enabled
  • encoding defaults to utf-8
  • don't wrap lines
  • expands tabs and sets them to two spaces
  • show 'invisible' characters
  • no swap, no backup, no undofile
  • ignores output files like swp, .class, .rbc and much more

Plugin Mappings

emmet

Maps <C-y>, to generate HTML tags

nerdcommenter

Maps <leader>/ to comment out lines

nerdtree

Maps <leader>n to open NERDTree

tabular

maps <leader>al to align => and/or =

tagbar

Maps <leader>rt to open TagBar

vim-dispatch

maps <leader>di to save the current buffer and run bundle exec ruby -I test on it

vim-fugitive

maps <leader>gb to Gblame maps <leader>gs to Gstatus maps <leader>gd to Gdiff maps <leader>gl to Glog maps <leader>gc to Gcommit maps <leader>gp to Git push

vim-indent-guides

Maps <leader>ig to enable indent guides

ZoomWin

Maps <leader>zw to ZoomWin