Excerpts from rameo's message of Fri Mar 18 15:52:37 +0100 2011:
> On Mar 18, 11:25 am, Marc Weber <[email protected]> wrote:
> 
> > Tell us in english words what you want to happen if you press your menu when
> > which mode is active.
I meant using usual language which you did.

I don't know. I've tried it. Either someone replies who knows how to do
it or you have to find quirky workarounds yourself or use mappings which
would like this and works:

  fun! A() range
    echoe a:firstline
    echoe a:lastline
    " if both are the same maybe nothing was selected check mode()
    exec a:firstline.','.a:lastline.'%s/...'
  endf

  map \foo :call<space>A()<cr>

You can workaround the failure by using :<c-u>call using menu..
However neither amenu nor vmenu somewhow behaves the way I'd expect it
to.. :( So I'm no help here.

You can also try to fetch existing scripts and watch out for some using
those vmap .. (a lot of work).

Marc Weber

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to