On Mar 18, 9:52 am, rameo <[email protected]> wrote:
> 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.
>
> > Marc Weber
>
> @Marc, was I writing in german? :)
>
> Marc en Ben,
> Thanks for your answer.
>
> I'll give an example.
>
> I have these commands in my menu:
> &Delete\ Extra\ Empty\ Lines                            :%s/^\_s\+/\r/
> g<CR>
> &Delete\ Extra\ Empty\ Lines\ -[S]                    :'<,'>s/^\_s\+/
> \r/g<CR>
>
> &Delete\ All\ Empty\ Lines                               :g/^\s*$/d
> <CR>
> &Delete\ All\ Empty\ Lines\ -[S]                        :'<,'>g/^\s*$/
> d <CR>
>
> &Delete\ from\ Pattern\ to\ Start\ or\ End\ of\ Line             :call
> <SID>DeleteStartEnd("%")<CR>
> &Delete\ from\ Pattern\ to\ Start\ or\ End\ of\ Line\ -[S]     :call
> <SID>DeleteStartEnd("'<,'>")<CR>
>

And how do you set up these menus? Did you even try using the visual-
mode specific menu command ":vmenu" or ":vnoremenu"?

-- 
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