Nick Nisi 83afb60bc2 Add ability for a per project .vimrc.local file
I was just thinking about this earlier today and then noticed on Twitter
that @garybernhardt was thinking the same thing. From some of the
replies to his tweet, I came up wtih this. Adding a .vimrc.local file to
the CWD where vim is opened will cause it to be source, meaning custom
key bindings can be applied on a per project basis.
2012-06-16 18:55:50 -05:00
2012-05-14 09:39:21 -05:00
2012-06-13 16:23:41 -05:00
2012-06-07 09:19:01 -05:00
2012-05-04 15:44:17 -05:00
2012-06-10 18:06:33 -05:00
2012-04-11 23:20:10 -05:00
2012-06-10 23:11:14 -05:00

Dotfiles

These are my dotfiles, which contain my custom system configuration preferences.

Contents

  • zsh configuration
  • vim configuration
  • tmux configuration
  • git configuration
  • osx configuration
  • bash configuration

Install

The organization of this project is similar to Zach Holman's setup.

Automatic Installation

curl -L https://raw.github.com/nicknisi/dotfiles/master/tools/install.sh | sh

Manual Installation

Clone

First, clone the repository to your home directory and name it ".dotfiles"

git clone git@github.com:nicknisi/dotfiles.git ~/.dotfiles

Then cd into that directory

cd ~/.dotfiles

Init Submodules

The vim configuration relies on a couple of vim plugins, which are loaded in as git submodules.

git submodule init
git submodule update

Backup

A backup task is included. This will find all the files that will be replaced and make a backup of them. For example, if you currently have a ".zshrc" file, it will be moved to ".zshrc.backup"

rake backup

Install

Symlink the necessary files. The task will perform a search for all files in the .dotfiles directory that have the ".symlink" suffix and create a symbolic link in the home directory that drops the suffix and prefixes with a '.'

rake install

Uninstall

If you would like to bring back your previous configuration, run the uninstalll task. This will remove the created symlinks.

Uninstall

rake uninstall

Restore

Then, if you would like to restore your previous configuration, run the restore task.

rake restore

ZSH Plugins

By default, the .zshrc file will source any file within .dotfiles that has the ".zsh" suffix.

Description
No description provided
Readme MIT 1.4 MiB
Languages
Vim Script 70.1%
Shell 16.1%
Vim Snippet 13.8%