Monday, June 18, 2012

Re: Error starting gvim and using diff

On Jun 18, 11:35 am, skeept <ske...@gmail.com> wrote:
>On Sunday, June 17, 2012 9:53:43 PM UTC-5, AndyHancock wrote:
>> Any further suggestions are welcome. I'll wait a bit before
>> posting in the cygwin forum.
>
> This is not a vim problem, I think this happens a lot with cygwin.
> Take Tony's sugestion and update your cygwin packages to the latest
> versions. In particular look up "cygwin rebase". Doing a rebase
> fixes most of these problems (at least for a while).
>
> If you install the windows version and check the option to install
> the bat files then you can type
>
>> gvim.bat -d file1 file1
>
> and have gvim diff the files or whatever you want to do. You can
> create an alias to make this easier on you: alias g='gvim.bat'

It does indeed happen with cygwin, but I wanted to rule out any other
possibility before going back to the issue again.

As I responded to Tony, I updated everything, and the problem did go
away...at least for the brief moments afterward.

I recall doing the rebase thing for gnuplotting from octave, but I
will look into what that was about again. I've heard murmurings about
autorebase being incorporated into setup, or some-such. My posting to
cygwin will be about this bigger picture. Thanks for confirming the
nature of the problem.

As for the using the windows version, I do that. In fact, I have a
bash script that invokes the Windows gvim and passes whatever
arguments it was given. However, many things are extremely
inconvenient, which is why I'm trying to use the Cygwin gvim. As I
mentioned, in the Windows gvim, you can't apply a shell command to a
whole series of text lines. Also, in order to access files, you need
to use a bash shell to convert posix paths to Windows paths for each
file you want to access. It's way, way better if I could get the
Cygwin version working. I am hopeful, but not expecting it.

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

No comments:

Post a Comment