mattjmorrison / dotfiles

Dotfiles and an install script for easy set up

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dotfiles

JarrodCTaylor

In my opinion which I respect very much what you have stumbled across right here are the best dotfiles money can buy, and they're priced to move. This venerable treasure trove of developer tools is worthy of your time and attention. So if you love the command line, and I know you do, then grab a copy and get coding.

Installation

git clone https://github.com/mattjmorrison/dotfiles.git ~/dotfiles
cd ~/dotfiles/install-scripts
bash OSX/setup.sh
# or
bash Linux/install-packages.sh
bash Linux/create-symlinks.sh

Customization

There is no need to fork this repository in order to customize it. Everything can be customized by leveraging the custom-configs directory. You are encouraged to maintain a separate github repository of configurations for your own dotfiles.

Contents

Zsh

When you first open the terminal you will notice the custom prompt. The prompt takes up the full width of the terminal and is two or three lines depending on if you are currently in a directory that is a git repo. The image below details the core components of the prompt.

zsh-prompt

Customizing Zsh

customizing-zsh

Tmux

A must have for pair programming sessions. The most notable features are the themed status line pictured below and the non-stock leader key <C-Space>

tmux-status

Vim

The vim configuration is the life blood of the dotfiles. Although it is heavily customized you can interactively explore the key mappings to quickly find out what it has to offer. Open any buffer buffer and type |<Space> in normal mode. This will open a unite menu that lists all of the shortcuts with a description and the key mapping that triggers it. You can scroll through the list with <C-J> <C-k> or filter the options by typing as seen below.

key-map-search

Customizing Vim

Misc Customization

You can use your own configuration file in place of any of the following

  • gitconfig
  • psqlrc
  • tigrc
  • tmux.conf

To do so you just need to include a file of the same name in your version controlled directory that you save into custom-configs the create symlinks scripts will link the files properly.

About

Dotfiles and an install script for easy set up


Languages

Language:Vim Script 82.7%Language:Shell 15.4%Language:Vim Snippet 1.6%Language:Ruby 0.3%