Skip to content

Instantly share code, notes, and snippets.

@bootleq
Created December 12, 2010 12:29
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bootleq/738007 to your computer and use it in GitHub Desktop.
Save bootleq/738007 to your computer and use it in GitHub Desktop.
[vimrc] ShowMarks and wokmarks.vim
" }}}2 ShowMarks {{{2
let g:showmarks_include='abcdefghijklmnopqrstuvwxyz' . 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
let g:showmarks_ignore_type=""
let g:showmarks_textlower="\t"
let g:showmarks_textupper="\t"
let g:showmarks_textother="\t"
let g:showmarks_auto_toggle = 0
nnoremap <silent> mo :ShowMarksOn<CR>
nnoremap <silent> mt :ShowMarksToggle<CR>
" }}}2 wokmarks {{{2
let g:wokmarks_do_maps = 0
let g:wokmarks_pool = "abcdefghijklmnopqrstuvwxyz"
map mm <Plug>ToggleMarkWok
map mj <Plug>NextMarkWok
map mk <Plug>PrevMarkWok
map <M-Left> <Plug>SetMarkWok
map <M-Right> <Plug>ToggleMarkWok
map <M-Up> <Plug>PrevMarkWok
map <M-Down> <Plug>NextMarkWok
autocmd User WokmarksChange :ShowMarksOn
" }}}2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment