Allow switching registers
parent
521d458751
commit
0da7b0457e
|
@ -175,6 +175,8 @@ noremap <unique> <silent> <Plug>HighlightRegistry_RemoveFromSearch
|
||||||
\ :call <SID>RemoveFromSearch(v:register, '\<'.expand('<cword>').'\>')<CR>
|
\ :call <SID>RemoveFromSearch(v:register, '\<'.expand('<cword>').'\>')<CR>
|
||||||
noremap <unique> <silent> <Plug>HighlightRegistry_ClearRegister
|
noremap <unique> <silent> <Plug>HighlightRegistry_ClearRegister
|
||||||
\ :call <SID>ClearRegister(v:register)<CR>
|
\ :call <SID>ClearRegister(v:register)<CR>
|
||||||
|
noremap <unique> <silent> <Plug>HighlightRegistry_ActivateRegister
|
||||||
|
\ :call <SID>ActivateRegister(v:register)<CR>
|
||||||
|
|
||||||
" Basic Mappings
|
" Basic Mappings
|
||||||
nmap & <Plug>HighlightRegistry_AppendToSearch
|
nmap & <Plug>HighlightRegistry_AppendToSearch
|
||||||
|
@ -182,10 +184,7 @@ nmap * <Plug>HighlightRegistry_Forward_AppendToSearch
|
||||||
nmap # <Plug>HighlightRegistry_Backward_AppendToSearch
|
nmap # <Plug>HighlightRegistry_Backward_AppendToSearch
|
||||||
|
|
||||||
" Additional Register Modifiers
|
" Additional Register Modifiers
|
||||||
|
nmap y& <Plug>HighlightRegistry_ActivateRegister
|
||||||
nmap d& <Plug>HighlightRegistry_RemoveFromSearch
|
nmap d& <Plug>HighlightRegistry_RemoveFromSearch
|
||||||
nmap c& <Plug>HighlightRegistry_ClearRegister
|
nmap c& <Plug>HighlightRegistry_ClearRegister
|
||||||
|
|
||||||
" Other Mappings
|
|
||||||
nmap n :norm! nzzzv<CR>
|
|
||||||
nmap N :norm! Nzzzv<CR>
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue