From 5e4eb2967c751ae507bc1c75ef8d426942b306ec Mon Sep 17 00:00:00 2001 From: Bodaniel Jeanes Date: Wed, 28 Dec 2011 21:00:16 -0600 Subject: [PATCH] Send vim selection to gist --- editors/vim/vimrc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/editors/vim/vimrc b/editors/vim/vimrc index 39a9c0f..b837c99 100644 --- a/editors/vim/vimrc +++ b/editors/vim/vimrc @@ -4,11 +4,15 @@ source ~/.vim/ui.vim source ~/.vim/autocommands.vim source ~/.vim/bundles.vim +" This helps with RVM etc +set shell=zsh + " For when you forget to sudo.. Really Write the file. cmap w!! w !sudo tee % >/dev/null -" This helps with RVM etc -set shell=zsh +" Send visual selection to gist.github.com +" Requires gist (brew install gist) +vnoremap G :w !gist -p -t %:e \| pbcopy " CTags map rt :!ctags --extra=+f -R *