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

@@ -6,6 +6,6 @@ let g:ConqueTerm_Color = 2
" Open up a variety of commands in the ConqueTerm
nmap <silent> <Leader>cc :execute 'ConqueTermSplit script/console --irb=pry'<CR>
nmap <silent> <Leader>pp :execute 'ConqueTermSplit pry'<CR>
nmap <silent> <Leader>bb :execute 'ConqueTermSplit /bin/bash --login'<CR>
nmap <silent> <Leader>zz :execute 'ConqueTermSplit zsh'<CR>
let g:ConqueTerm_SendVisKey = '<Leader>e'

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