Browse files

vim: adding shortcut to show current register contents

  • Loading branch information...
1 parent 1b2cec0 commit d1b0210aba60b222a883a0ccca220c6dc74663de @bhilburn committed Nov 15, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 vim/vimrc
@@ -211,6 +211,9 @@ nnoremap <leader>( :tabprev<cr>
nnoremap <leader>) :tabnext<cr>
nnoremap <leader>{ :tabnew<cr>
+" Show contents of registers
+nnoremap <leader>r :registers<cr>
" For some reason ctags refuses to ignore Python variables, so I'll just hack
" the tags file with sed and strip them out myself.
nnoremap <leader><cr> :silent !/usr/bin/ctags -R --c++-kinds=+p --c-kinds=+p --fields=+iaS --extra=+q .<cr>

0 comments on commit d1b0210

Please sign in to comment.