📅  最后修改于: 2022-03-11 14:59:20.987000             🧑  作者: Mango
" Put this in your .vimrc
" For local replace
nnoremap gr gd[{V%::s////gc
" For global replace
nnoremap gR gD:%s////gc
" When you want to use, type:
gr
" over the variable you want to replace
" then type
ngR
" OR
ngr