:%s/souce/source/c
How to make it continuously verify replacement
业精于勤,荒于嬉;行成于思,毁于随。
:%s/souce/source/gc
Copy the following code into your .vimrc file
.vimrc
" 不确认、非整词 nnoremap <Leader>R :call Replace(0, 0, input('Replace '.expand('<cword>').' with: '))<CR> " 不确认、整词 nnoremap <Leader>rw :call Replace(0, 1, input('Replace '.expand('<cword>').' with: '))<CR> " 确认、非整词 nnoremap <Leader>rc :call Replace(1, 0, input('Replace '.expand('<cword>').' with: '))<CR> " 确认、整词 nnoremap <Leader>rcw :call Replace(1, 1, input('Replace '.expand('<cword>').' with: '))<CR> nnoremap <Leader>rwc :call Replace(1, 1, input('Replace '.expand('<cword>').' with: '))<CR>
Source: https://github.com/yangyangwi...
:%s/souce/source/gc
Copy the following code into your
.vimrc
fileSource: https://github.com/yangyangwi...