VsVim icon indicating copy to clipboard operation
VsVim copied to clipboard

Support repeating the previous search/replace like Vim with global ('g'), e.g., ":%sg" or ":'a,.sg"

Open demlow opened this issue 3 years ago • 0 comments

Feature category

  • Check(Type 'x') any that Applicable item:
    • [x] Vim
    • [x] Vim plugin

After a search and replace operation such as:

:'a,.s/foo/bar/g

Vim supports repeating the previous operation on a different range without retyping the patterns:

:'b,'csg

or

:%sg

VsVim supports this behavior but only without the 'g' (global) option. Please consider adding this, thank you.

demlow avatar Sep 01 '22 20:09 demlow