Replace with Confirmation using Vim

This page answers questions like these:

Replace with Confirmation using Vim:

:s/PATTERN1/PATTERN2/gc

Multi-line Replace with Confirmation using Vim:

:10,30s/PATTERN1/PATTERN2/gc

Global Replace with Confirmation using Vim:

:%s/PATTERN1/PATTERN2/gc
Related Links:
Fold/Collapse/Hide Code Blocks in Vim
Expand/Show/Open Collapsed/Hidden/Folded Text in Vim
Write Lines to Another File in Vim/Vi

Home  >  Vim  >  Replace with Confirmation using Vim


Tags: replace, replace with confirmation, confirmation, confirm, replace with confirm, global replace, yes/no, vim

Src: vim-replace-with-confirmation.txt
Dst: Vim/vim-replace-with-confirmation-using-vim.txt.htm
Ads: 4