71986Re: substituting only in visual block
- Aug 2 10:13 AMOn 8/2/06, Charles E Campbell Jr <drchip@...> wrote:
> Robert Cussons wrote:Wow. Cute trick. I wondered how it is possible
> > Bernd Strohhäcker wrote:
> >> try Charles Campell's vis-script:
> >> http://www.vim.org/scripts/script.php?script_id=1195
> > Thanks for the pointer to this, it is a useful script, if Charles is
> > out there today, just a little point, it doesn't seem to like 'c'
> > being used in substitutions, don't know if you already new about that...
> (messages somewhat abbreviated above)
> The selected column does show up separately for a bit; however, when one
> is done answering "y" or "n"
> (etc), the amended column does get put back -- ie. the confirmed
> substitution works. That behavior is
> fundamental to how vis.vim works. It isolates the requested text block,
> performs the operation, and inserts
> the text block back.
to do block-scoped substitution at all.
- << Previous post in topic Next post in topic >>