Re: Execute Function/Ruby Script in Visual Mode
- On 7/2/06, Yakov Lerner <iler.ml@...> wrote:
> On 7/2/06, Matthias-Christian Ott <matthias.christian@...> wrote:to make myself clearer: try gv not *after* Esc v but
> > Hi,
> > normally functions or even ruby scripts run in ex mode, but sometimes it
> > necessary to execute them in visual mode (e.g. using v_s to replace the
> > selected text). When switching back to visual mode (e.g. via ESC v) the
> > selection is lost, so it's no a real solution.
> > Any suggestion regarding to my problem?
> gv restores last visual selection
*instead of* Esc v.