From 6253ca018214e622b2ea61b24ac60e023db08d63 Mon Sep 17 00:00:00 2001 From: yan Date: Thu, 17 Nov 2011 16:40:21 -0600 Subject: [PATCH] Updated readme --- README.md | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5ea499c6..9d3aabce 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,13 @@ Yan's Excellent Dotfiles! ==== +There are two main goals accomplished in my dotfiles to produce insane productivity + + * All common bash commands should be two and three character mnemonic aliases + * Most vim tasks, especially those having to do with navigation, should be mapped to a single Capital Letter or two letter mnemonic. + +Setup +--- To set these up as your own (careful, don't overwrite your bash_profile unintentionally!): git clone git://github.com/skwp/dotfiles ~/.dotfiles @@ -19,11 +26,35 @@ To use the vim files: ln -s ~/.dotfiles/vimrc ~/.vimrc ln -s ~/.dotfiles/vim ~/.vim - + The .vimrc is well commented and broken up by settings. I encourage you to take a look and learn some of my handy aliases, or comment them out if you don't like them, or make your own. +To use the gitconfig (some of the git bash aliases rely on my git aliases) + + ln -s ~/.dotfiles/gitconfig ~/.gitconfig + + +Major Vim Improvements +--- +These are things I use every day to be insanely productive. Hope you like em. + + * F - instantly Find definition of class (must have exuberant ctags installed) + * B - show Buffer explorer + * S - Show buffers in LustyJuggler (use asdfjkl home row keys to then select buffer) + * T - Tag list (list of methods in a class) + * K - git grep for the Kurrent word under the cursor + * O - Open a GitGrep command line with a quote pretyped (close the quote yourself) + * M - show my Marks (set a mark with mX where X is a letter, navigate to mark using 'X). Uppercase marks to mark files, lowercase marks to use within a file. + * Q - Quit a window (normally Ctrl-w,c) + * \Q - Kill a buffer completely (normally :bw) + * Ctrl-j and Ctrl-k to move up and down roughly by functions + * vv and ss - vertical and horizontal split windows by double tapping + * H,L,I,M - to move left, right, up, down between windows + * Ctrl-\ - Show NerdTree (project finder) and expose current file + * cf - Copy Filename of current file into system (not vi) paste buffer + Credits === I can't take credit for all of this. The vim files are a combination of @@ -37,4 +68,4 @@ currently under vim/bundles. For more tips and tricks === -Follow my blog: [yan http://yanpritzker.com] +Follow my blog: http://yanpritzker.com