Re: Activating gVim from the command line (cont)

2012-08-07 Thread His Nerdship
On Aug 8, 3:34 am, Ben Fritz wrote: > On Tuesday, August 7, 2012 10:49:27 AM UTC-5, Christian Brabandt wrote: > > Hi Ben! > > > On Di, 07 Aug 2012, Ben Fritz wrote: > > > > From previous discussion, he claims to want the first "blobfish" on or > > > > after line 51. While this could be done with

Re: Activating gVim from the command line (cont)

2012-08-06 Thread His Nerdship
On Aug 6, 6:08 am, Christian Brabandt wrote: > Hi His! > > > Try separating the command range by ',' instead of ';' > > See :h :; > > regards, > Christian- Hide quoted text - > > - Show quoted text - Thanks Christian. I take it you mean this: gvim --servername HgVim --remote-silent "+51,/blob

Re: Activating gVim from the command line (cont)

2012-08-02 Thread His Nerdship
On Aug 3, 12:39 am, Ben Fritz wrote: > You may need to use the --remote-expr or --remote-send flags instead of (or > in addition to) the --remote flag. Also see the remote_expr(), remote_peek(), > remote_read(), and remote_send() functions for use within an already-running > Vim.- Hide quoted t

Activating gVim from the command line (cont)

2012-08-02 Thread His Nerdship
The original post has been successfully addressed. In my last example, I was searching for 'haddock' in fish.cpp. From the command line I can now successfully open fish.cpp and have the cursor sitting on a haddock. But wait, there's more... I will also need to open the same file, again from the co

Re: Activating Windows gVim from the command line

2012-08-01 Thread His Nerdship
On Aug 2, 12:00 pm, His Nerdship wrote: > Thanks a million, Gary and sc. > Gary your solution didn't work in Windows - it has different quoting > rules to UNIX.  It's just a matter of experimentation and I will try > and bully it into submission later. > sc - your s

Re: Activating Windows gVim from the command line

2012-08-01 Thread His Nerdship
> > (I assume that the oddball quotation marks are due to your mailer's > editor.) > > The -c option specifies an ex command, not a normal-mode > command.  The ex search command finds the line matching the > patterns, not the column. > > What you want is something like this: > >     gvim +713 -c 'e

Activating Windows gVim from the command line

2012-08-01 Thread His Nerdship
I left a query about 10 days ago which was kindly and competently answered by Ben (Fritz). Vielen Dank, Ben. I have another problem stemming from the same issue, namely that the moronic managers (aren’t they all?) at my new job have locked down our PC’s such that we cannot install anything properl

Installing gvim on Windows with no admin rights

2012-07-25 Thread His Nerdship
I have just started a contract at my most anal company yet. They don't give admin rights on the PC (even to developers), so I can't install anything and I can't use RegEdit (even on the HKEY_CURRENT_USER hive). I would really like to use Vim, but it is not on "The List" so I cannot install it le