bd0c0d9e1474

Moar.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 02 Apr 2012 18:51:11 -0400
parents cd7424ed2e9d
children b198f08cd512
branches/tags (none)
files vim/.vimrc

Changes

--- a/vim/.vimrc	Fri Mar 30 11:08:33 2012 -0400
+++ b/vim/.vimrc	Mon Apr 02 18:51:11 2012 -0400
@@ -265,7 +265,7 @@
 " vnoremap <leader>UG :w !gist -p \| pbcopy<cr>
 
 " Send visual selection to sprunge.us
-vnoremap <leader>G :w !curl -sF 'sprunge=<-' 'http://sprunge.us' \| pbcopy<cr>
+vnoremap <leader>G :w !curl -sF 'sprunge=<-' 'http://sprunge.us' \| tr -d '\n ' \| pbcopy<cr>
 
 " Change case
 nnoremap U gUiw
@@ -480,6 +480,14 @@
 vnoremap # :<C-u>call <SID>VSetSearch()<CR>??<CR><c-o>
 
 " }}}
+" List navigation {{{
+
+nnoremap <left>  :cprev<cr>zvzz
+nnoremap <right> :cnext<cr>zvzz
+nnoremap <up>    :lprev<cr>zvzz
+nnoremap <down>  :lnext<cr>zvzz
+
+" }}}
 
 " }}}
 " Folding ----------------------------------------------------------------- {{{