Skip to content

Latest commit

 

History

History
105 lines (73 loc) · 4.19 KB

README.md

File metadata and controls

105 lines (73 loc) · 4.19 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 { 💄 => 💋 }
  • 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 🐴
  • 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: