Anonymous bookmarking with ,bb ,bn ,bp ,bc

This commit is contained in:
yan
2011-12-16 00:30:43 -08:00
committed by Yan Pritzker
parent affd42eee3
commit ceaf82503f
5 changed files with 24 additions and 1 deletions

View File

@@ -151,8 +151,20 @@ nnoremap <D-*> :let @/='\<<C-R>=expand("<cword>")<CR>\>'<CR>:set hls<CR>
nnoremap ' `
nnoremap ` '
" ============================
" VimBookmarking
" ============================
"
" Set anonymous bookmarks
nmap ,bb :ToggleBookmark<cr>
nmap ,bn :NextBookmark<cr>
nmap ,bp :PreviousBookmark<cr>
nmap ,bc :ClearBookmarks<cr>
"
" ============================
" Abbreviations to use...
" ============================
" snippets that are expanded with space
abbr pry! require 'pry'; binding.pry