dotfiles

configuration files for different softwares
git clone git://z3bra.org/dotfiles
Log | Files | Refs

commit 1bceef03d7a639700f4e2c47c22a86ff87730ff9
parent 38dc32960b3007e4b84223d2f59558bc2c61e1a4
Author: Willy Goiffon <willy@mailoo.org>
Date:   Tue Nov 12 12:57:59 2013

Improved :Sprunge command

Diffstat:
 vim/bundle/matchit | 1 +
 vimrc              | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/vim/bundle/matchit b/vim/bundle/matchit @@ -0,0 +1 @@ +Subproject commit 815bcad07e4ae97939a3a3e64a0faf317f065a45 diff --git a/vimrc b/vimrc @@ -270,8 +270,8 @@ nnoremap ZW :w<CR> " toggle between gcc and make nmap <Leader>cc :call ToggleCCompiler()<CR> -" upload to sprunge.us -command! Sprunge w !curl -F 'sprunge=<-' http://sprunge.us +" upload to sprunge.us (without range, upload the whole file) +command! -nargs=0 -range=% Sprunge w !curl -F 'sprunge=<-' http://sprunge.us " }}} " > Filetypes commands ========================================================