mirror of https://github.com/bjeanes/dotfiles.git
Send vim selection to gist
parent
c0891c5312
commit
5e4eb2967c
|
@ -4,11 +4,15 @@ source ~/.vim/ui.vim
|
||||||
source ~/.vim/autocommands.vim
|
source ~/.vim/autocommands.vim
|
||||||
source ~/.vim/bundles.vim
|
source ~/.vim/bundles.vim
|
||||||
|
|
||||||
|
" This helps with RVM etc
|
||||||
|
set shell=zsh
|
||||||
|
|
||||||
" For when you forget to sudo.. Really Write the file.
|
" For when you forget to sudo.. Really Write the file.
|
||||||
cmap w!! w !sudo tee % >/dev/null
|
cmap w!! w !sudo tee % >/dev/null
|
||||||
|
|
||||||
" This helps with RVM etc
|
" Send visual selection to gist.github.com
|
||||||
set shell=zsh
|
" Requires gist (brew install gist)
|
||||||
|
vnoremap <leader>G :w !gist -p -t %:e \| pbcopy<cr>
|
||||||
|
|
||||||
" CTags
|
" CTags
|
||||||
map <Leader>rt :!ctags --extra=+f -R *<CR><CR>
|
map <Leader>rt :!ctags --extra=+f -R *<CR><CR>
|
||||||
|
|
Loading…
Reference in New Issue