Loading ...
Sorry, an error occurred while loading the content.
 

Re: Execute Function/Ruby Script in Visual Mode

Expand Messages
  • Yakov Lerner
    ... to make myself clearer: try gv not *after* Esc v but *instead of* Esc v. Yakov
    Message 1 of 3 , Jul 2, 2006
      On 7/2/06, Yakov Lerner <iler.ml@...> wrote:
      > On 7/2/06, Matthias-Christian Ott <matthias.christian@...> wrote:
      > > 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

      to make myself clearer: try gv not *after* Esc v but
      *instead of* Esc v.

      Yakov
    Your message has been successfully submitted and would be delivered to recipients shortly.