Skip to content

DArrigoni/config

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfile Configuration for OSX and Linux

Maintains a (mostly) homogenous configuration setup across Linux and OSX platforms.

Anthony M. Cook 2013 - http://github.com/acook | @anthony_m_cook | http://anthonymcook.com

How to Use

  1. Open a terminal in the same directory as this file.
  2. Run ./install.sh
  3. Enjoy!

What the install.sh script does

  • Asks you for info to set up your git config.
  • Backs up any existing configuration files.
  • Creates symlinks to the dotfiles in the repo.
  • Pulls all the submodules contained in this repo.
  • Sources your .bash_profile script.

Prerequisites

  • git : http://git-scm.com - Without git the install script will complain at the end and you won't get any of the submodules, but it will still happily do everything else.
  • vim : http://www.vim.org - Several of the configuration files included here are for or involve Vim.
  • coreutils : http://www.gnu.org/s/coreutils - GNU basic utilities, some aliases and functions in the bash configuration may fail.
  • fileutils : http://www.gnu.org/s/fileutils - GNU file manipulation utilities, some aliases and functions in the bash configuration may fail.

Note that my configuration files use GNU syntax, not BSD syntax.

Recommended

You can use the script with your own collection of dotfiles

  1. Fork this repo.
  2. Clear out the dotfiles directory.
  3. Drop in your own configuration files.
  4. Commit and push to your repo.
  5. Run with ./install.sh.

Cheatsheet

Vim Commands

There are three File Navigation related plugins, they each have a different use case.

CtrlP

Full tree fuzzy file, tag, buffer, quickfix, and MRU file matching. Its amazing. It replaces FuzzyFinder. Just don't use the file finder in a massive directory like / or ~, because it will lag on startup.

  • ff - Opens fuzzy file finder.
  • ft - Opens fuzzy tag finder.
  • fb - Opens fuzzy buffer finder.
  • fd - Opens fuzzy directory finder.
  • fm - Opens fuzzy MRU finder.
  • fq - Opens fuzzy quickfix finder.

When its open you can also do a few more things:

  • - refreshes the cache
  • - disables full path search, does filename only matching
  • :45 - a colon at the end of a file can be followed by a vim command

Lusty Explorer

Quick open files, does fuzzy matching per directory. Very fast, no startup lag. Also includes some Buffer Navigation commands.

  • lf - Opens filesystem explorer.
  • lr - Opens filesystem explorer at the directory of the current file.
  • lb - Opens buffer explorer.
  • lg - Opens buffer grep.
  • lj - Opens buffer juggler.

NERDtree

Useful for exploring directory structures, or keeping open on the side like a project window.

  • :NERDtree
  • :e .

Rails.vim

Alternate - swap from test to tested and back

  • :AV
  • :AS

Future

  • Ignore failures when unable to find files or commands from my personal script repo.
  • Multiple backups.

About

my configuration files

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vim Script 97.0%
  • Shell 3.0%