Skip to content

Commit

Permalink
vim: adding shortcut to show current register contents
Browse files Browse the repository at this point in the history
  • Loading branch information
bhilburn committed Nov 15, 2012
1 parent 1b2cec0 commit d1b0210
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vim/vimrc
Expand Up @@ -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>
Expand Down

0 comments on commit d1b0210

Please sign in to comment.