Anyone has an idea how to resolve my question?
--
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
I believe that I have found it.
it is the C-r/ command
let delmatches = ':g/C-r//d C'
an 98.002Edit\ Menu.Delete\ Matches\:exe delmatchesCR
--- doesn't work (E486 pattern not found: C-r)
an 98.002Edit\ Menu.Delete\ Matches\:g/C-r//d CCR
--- does work.
Any idea?
--
You received this
On 18/06/11 10:57, rameo wrote:
I believe that I have found it.
it is theC-r/ command
let delmatches = ':g/C-r//d C'
an 98.002Edit\ Menu.Delete\ Matches\:exe delmatchesCR
--- doesn't work (E486 pattern not found:C-r)
an 98.002Edit\ Menu.Delete\ Matches\:g/C-r//d CCR
--- does work.
Thank you very much.
When I read that I had to put the menu command inside the :execute
I placed the :exe before delmatches (I thought the menu command was
the command in the menu) and not before the whole menu command.
--
You received this message from the vim_use maillist.
Do not top-post!
I can't find out how to refer to another menu line in menu.vim
p.e.
an95.038 Search\ Menu.Do\ command\ 1\ :a command of 150
characters
an98.002 Edit\ Menu.Do\ command\ 2\:my command1
How can I refer to command 1 in command 2 without rewriting the whole
commandline of
On 17/06/11 09:40, rameo wrote:
I can't find out how to refer to another menu line in menu.vim
p.e.
an95.038Search\ Menu.Do\ command\ 1\ :a command of 150
characters
an98.002Edit\ Menu.Do\ command\ 2\:my command1
How can I refer to command 1 in command 2 without
On Jun 17, 9:56 am, Tony Mechelynck antoine.mechely...@gmail.com
wrote:
On 17/06/11 09:40, rameo wrote:
I can't find out how to refer to another menu line in menu.vim
p.e.
an95.038Search\ Menu.Do\ command\ 1\ :a command of 150
characters
an98.002Edit\ Menu.Do\ command\
Hi rameo!
On Fr, 17 Jun 2011, rameo wrote:
This doesn't seem to work (or I did something wrong).
p.e. command 1 = :%s/foo/bar/g
let command_1 = ':%s/foo/bar/g'
an 98.002Edit\ Menu.Do\ command\ 2\:command_1 ??
You need to evaluate the variable first. This is done using the :exe
On Jun 17, 1:31 pm, Christian Brabandt cbli...@256bit.org wrote:
Hi rameo!
On Fr, 17 Jun 2011, rameo wrote:
This doesn't seem to work (or I did something wrong).
p.e. command 1 = :%s/foo/bar/g
let command_1 = ':%s/foo/bar/g'
an 98.002Edit\ Menu.Do\ command\ 2\:command_1 ??
Hi rameo!
On Fr, 17 Jun 2011, rameo wrote:
On Jun 17, 1:31 pm, Christian Brabandt cbli...@256bit.org wrote:
Hi rameo!
On Fr, 17 Jun 2011, rameo wrote:
This doesn't seem to work (or I did something wrong).
p.e. command 1 = :%s/foo/bar/g
let command_1 = ':%s/foo/bar/g'
On Jun 17, 2:33 pm, Christian Brabandt cbli...@256bit.org wrote:
Hi rameo!
On Fr, 17 Jun 2011, rameo wrote:
On Jun 17, 1:31 pm, Christian Brabandt cbli...@256bit.org wrote:
Hi rameo!
On Fr, 17 Jun 2011, rameo wrote:
This doesn't seem to work (or I did something wrong).
Hi rameo!
On Fr, 17 Jun 2011, rameo wrote:
On Jun 17, 2:33 pm, Christian Brabandt cbli...@256bit.org wrote:
On Fr, 17 Jun 2011, rameo wrote:
This is my command:
let deletematches1 = ':call SIDCopyMatchesLines(%,)CR:let @c =
CR:g/C-r//d CCR:let @*=@cCR'
this is my menu:
an
Yes it gives the output what I want (in the commandline) but not the
output what I want as it gave before. Can't find the reason. I send
you my function also:
function! s:CopyMatchesLines(type,kind)
let posinit = getpos(.)
if a:type == ','
let StartPosition = line(')
let
13 matches
Mail list logo