Mercurial > dotfiles
diff vim/vimrc @ 106:f919d3bf3744
Merged changes.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 07 May 2012 22:15:59 -0700 |
parents | a755319f124e |
children | 14307ff18bc1 9495034e7dc4 |
line wrap: on
line diff
--- a/vim/vimrc Mon May 07 22:06:28 2012 -0700 +++ b/vim/vimrc Mon May 07 22:15:59 2012 -0700 @@ -306,15 +306,19 @@ " Simple way to close a buffer without closing the window. nnoremap <leader>bd :bprevious<cr>:bdelete #<cr> -" Toggle folds with <space> +" Toggle folds with <space>. nnoremap <space> za -" Create folds with <space> (in visual mode) +" Create folds with <space> (in visual mode). vnoremap <space> zf -" File-type switching +" File-type switching. nnoremap <leader>ftmd :set ft=markdown<cr> +" Quick search and replace. +nnoremap <leader>s :%s/\<<C-r><C-w>\>//g<left><left> +vnoremap <leader>s :s/<C-r>///g<left><left> + " }}} " Abbreviations {{{ @@ -380,5 +384,9 @@ let g:lawrencium_debug = 1 let g:lawrencium_trace = 0 +" Enable debugging PieCrust +let g:piecrust_debug = 1 +let g:piecrust_trace = 0 + " }}}