Skip to content
Snippets Groups Projects
Commit e5b07efa authored by Henrik Tjäder's avatar Henrik Tjäder
Browse files

Add replacewithregister plugin

parent e7a0faf6
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,9 @@ endif
"Plug 'scrooloose/nerdcommenter'
Plug 'preservim/nerdcommenter'
" Replace with Register
Plug 'inkarkat/vim-ReplaceWithRegister'
if exists('g:vscode')
" VSCode extension
else
......@@ -561,6 +564,11 @@ nnoremap <C-G>o :CtrlSFOpen<CR>
nnoremap <C-G>t :CtrlSFToggle<CR>
inoremap <C-G>t <Esc>:CtrlSFToggle<CR>
" ReplaceWithRegister keybinds
nmap <Leader>r <Plug>ReplaceWithRegisterOperator
nmap <Leader>rr <Plug>ReplaceWithRegisterLine
xmap <Leader>r <Plug>ReplaceWithRegisterVisual
" Esearch settings
" Use <c-g><c-g> to start the prompt, use <c-g>iw to pre-fill with the current word
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment