Anonymous bookmarking with ,bb ,bn ,bp ,bc
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user