Skip to content

jico/dotfiles

Repository files navigation

jico's dotfiles

These are my dotfiles, which keep configurations across all of my machines on the same page. They're mostly geared toward OS X, zsh (with some oh-my-zsh flavor), and Ruby/Rails.

Installation

Simply run:

git clone https://github.com/jico/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
rake install

Note: Similarly, you can uninstall by running cd ~/.dotfiles && rake uninstall

This initializes and updates the git submodules (vim plugins) and installs oh-my-zsh from my forked version which has my simple bolt theme. Feel free to check out the Rakefile if you want to pull from the original oh-my-zsh repo.

The installation process goes through the dotfile directory and adds symlinks to each file/directory it contains into your home directory. Thus, any updates and modifications will be made within the ~/.dotfiles directory itself.

TMUX config (OS X)

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

Features

  • A badass VIM config
  • A solid TMUX config
  • Killer aliases
  • And much more (ackrc, irbrc, gemrc)

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 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
  • Pathogen - Runtime path management

Vim Customization

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

Thanks

This awesome bundle of config files is largely based on the Crowdtap dotfiles, so a special shoutout to Quentin Decock and Nicolas Viennot. My first set of dotfiles was forked from Ryan Bates, which are a large inspiration for much of the installation, zsh, and other config files.

About

jico's dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published