Inserted easy search-and-replace
Shift+R enters command mode and puts :%s/<cword>/ in the command line (TODO: Visual mode support)
This commit is contained in:
parent
1de53904d9
commit
f627f0ca1a
1 changed files with 1 additions and 0 deletions
1
vimrc
1
vimrc
|
@ -168,6 +168,7 @@ nnoremap <C-d> :copy .<CR>
|
|||
nnoremap dx 0"_d$
|
||||
nnoremap dcx 0d$
|
||||
nnoremap <leader>: :let @* = @:<CR>
|
||||
nnoremap <expr> <S-r> ":%s/".expand("<cword>")."/"
|
||||
|
||||
" Tabs vs. Spaces
|
||||
nnoremap <C-tab> :setl expandtab!<CR>:set expandtab?<CR>
|
||||
|
|
Loading…
Reference in a new issue