Anonymous bookmarking with ,bb ,bn ,bp ,bc
This commit is contained in:
parent
affd42eee3
commit
ceaf82503f
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -148,3 +148,6 @@
|
|||||||
[submodule "vim/bundle/vim-scripts-ZoomWin"]
|
[submodule "vim/bundle/vim-scripts-ZoomWin"]
|
||||||
path = vim/bundle/vim-scripts-ZoomWin
|
path = vim/bundle/vim-scripts-ZoomWin
|
||||||
url = https://github.com/vim-scripts/ZoomWin.git
|
url = https://github.com/vim-scripts/ZoomWin.git
|
||||||
|
[submodule "vim/bundle/dterei-VimBookmarking"]
|
||||||
|
path = vim/bundle/dterei-VimBookmarking
|
||||||
|
url = https://github.com/dterei/VimBookmarking
|
||||||
|
@ -191,6 +191,12 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
|
|||||||
* gcp (comment a paragraph) added
|
* gcp (comment a paragraph) added
|
||||||
* ,t - Command-T fuzzy file selector (alternative to PeepOpen / LustyJuggler)
|
* ,t - Command-T fuzzy file selector (alternative to PeepOpen / LustyJuggler)
|
||||||
|
|
||||||
|
Local Anonymous Bookmarking
|
||||||
|
|
||||||
|
* ,bb - toggle local anonymous bookmark at current location
|
||||||
|
* ,bn ,bp - next and previous anonymous bookmark
|
||||||
|
* ,bc - clear anonymous bookmarks
|
||||||
|
|
||||||
Included vim plugins
|
Included vim plugins
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -203,6 +209,7 @@ Included vim plugins
|
|||||||
* LustyJuggler/Explorer - hit B, type buf name to match a buffer, or type S and use the home row keys to select a buffer
|
* LustyJuggler/Explorer - hit B, type buf name to match a buffer, or type S and use the home row keys to select a buffer
|
||||||
* TagList - hit ,T to see a list of methods in a class (uses ctags)
|
* TagList - hit ,T to see a list of methods in a class (uses ctags)
|
||||||
* CommandT - although I personally use PeepOpen, this is available as it's pretty standard
|
* CommandT - although I personally use PeepOpen, this is available as it's pretty standard
|
||||||
|
* VimBookmarks - toggle an anonymous bookmark ,bb and go thru them ,bn ,bp and clear them ,bc
|
||||||
|
|
||||||
Git
|
Git
|
||||||
|
|
||||||
|
1
vim/bundle/dterei-VimBookmarking
Submodule
1
vim/bundle/dterei-VimBookmarking
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 95a809c05aebe0404b1619a5a21124133b435976
|
@ -6,6 +6,6 @@ let g:ConqueTerm_Color = 2
|
|||||||
" Open up a variety of commands in the ConqueTerm
|
" Open up a variety of commands in the ConqueTerm
|
||||||
nmap <silent> <Leader>cc :execute 'ConqueTermSplit script/console --irb=pry'<CR>
|
nmap <silent> <Leader>cc :execute 'ConqueTermSplit script/console --irb=pry'<CR>
|
||||||
nmap <silent> <Leader>pp :execute 'ConqueTermSplit 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'
|
let g:ConqueTerm_SendVisKey = '<Leader>e'
|
||||||
|
@ -151,8 +151,20 @@ nnoremap <D-*> :let @/='\<<C-R>=expand("<cword>")<CR>\>'<CR>:set hls<CR>
|
|||||||
nnoremap ' `
|
nnoremap ' `
|
||||||
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...
|
" Abbreviations to use...
|
||||||
" ============================
|
" ============================
|
||||||
" snippets that are expanded with space
|
" snippets that are expanded with space
|
||||||
abbr pry! require 'pry'; binding.pry
|
abbr pry! require 'pry'; binding.pry
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user