Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

106 lines (73 sloc) 4.295 kb

Crowdtap dotfile config

Why a common dotfile config?

  • To be on the same page
  • Unleash TMUX and VIM productivity power

Hamburger

What's inside?

  • A solid VIM config
  • A solid TMUX config
  • Extra dotfiles (ackrc, irbrc, gemrc)

See below for further details

Install

  1. clone this repository
  2. cd into the repository
  3. specify the dotfiles you want to use in the MANIFEST file (by default everything is installed)
  4. run git submodule init
  5. run git submodule update
  6. run make install

TMUX config

Mac Users: You need to set Option / Alt keys as a meta key in your terminal application.

  • iTerm:
    Preferences > Profiles > Default > Left option key acts as Meta + Esc
    Preferences > Profiles > Default > Right option key acts as Meta + Esc

Key Bindings

Alt + E Prefix (you probably won't need it)

The following key bindings do not require you to send the prefix keystroke:

Alt + | Split vertically
Alt + - Split horizontally

Alt + H Go to the left pane
Alt + J Go to the bottom pane
Alt + K Go to the top pane
Alt + L Go to the right pane

Alt + Arrow Resize pane

Alt + PageUp Copy mode and page up
Alt + U Copy mode Alt + I Paste

Alt + 8 Choose a session to attach
Alt + 9 Cycle left through sessions
Alt + 0 Cycle right through sessions

Alt + D Detach

VIM config

Plugins

  • Molokai - This color scheme makes it pretty and gives you kisses { :lipstick: => :kiss: }
  • NERDTree - Filesystem explorer - use ^g to toggle it
  • Rails.vim - Navigate Rails project easily - :help rails-navigation
  • Fugitive - Deep git integration :octocat:
  • Tabular - Alignment plugin (e.g. =>, |, :, ...)
  • NerdCommenter - Comment efficiently single or multiple lines
  • QuickFixSigns - Is responsible for these usefull +/- signs on the left side (live diff with git index)
  • Syntastic - Syntax checker, yells when you write mistakes :horse:
  • Endwise - Adds necessary end to functions and statements in ruby
  • Vim-ruby - syntax highlighting for ruby files
  • Vim-coffee-script - syntax highlighting for coffee script files
  • MiniBufExplorer - interactive buffer list on demand bound on <leader>l (also binds ^h,^j,^k,^l to move around windows)
  • Scss-syntax - Adds SASS syntax highlighting
  • Less-css - colors for LESS CSS files
  • Supertab - Tab completion

plugins - under the hood

Customization

Please put your custom setting in a custom.vim file at the root of the dotfile directory

Cheat sheet

Fugitive

These are really good videos showcasing Fugitive functionalities

Credits

I would like to thank these guys, this config was largely inspired by their work:

Jump to Line
Something went wrong with that request. Please try again.