Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

arrow keys on cywin's vim

1 view
Skip to first unread message

puzzlecracker

unread,
Jul 21, 2008, 1:05:47 PM7/21/08
to
I installed cygwin with optional vim on it (I believe it's a version
7). However, I have to use h j k l to navigate, Is there a way to
enable arrows to do that?


Argh, I also couldn't make gvim start up in cygwin... got stuck with
X terminal configuration. though display variable is set.

Thanks

Gary Johnson

unread,
Jul 21, 2008, 6:55:22 PM7/21/08
to
puzzlecracker <irons...@gmail.com> wrote:
> I installed cygwin with optional vim on it (I believe it's a version
> 7). However, I have to use h j k l to navigate, Is there a way to
> enable arrows to do that?

They should already work. I can execute

vim -u NONE

in either a Cygwin console or in an rxvt window and arrows work just
fine.

> Argh, I also couldn't make gvim start up in cygwin... got stuck with
> X terminal configuration. though display variable is set.

Cygwin's gvim is in a separate package from vim. If you only installed
the vim package, you get only vim.

--
Gary Johnson

puzzlecracker

unread,
Jul 21, 2008, 10:39:35 PM7/21/08
to
On Jul 21, 6:55 pm, Gary Johnson <garyj...@eskimo.com> wrote:

> puzzlecracker <ironsel2...@gmail.com> wrote:
> > I installed cygwin with optional vim on it (I believe it's a version
> > 7). However, I have to use h j k l to navigate, Is there a way to
> > enable arrows to do that?
>
> They should already work. I can execute
>
> vim -u NONE
>

Thanks

> in either a Cygwin console or in an rxvt window and arrows work just
> fine.
>
> > Argh, I also couldn't make gvim start up in cygwin... got stuck with
> > X terminal configuration. though display variable is set.
>
> Cygwin's gvim is in a separate package from vim. If you only installed
> the vim package, you get only vim.
>
> --
> Gary Johnson

I did install gvim package, but when I start the app, i get the
following error: E233: cannot open display

puzzlecracker

unread,
Jul 21, 2008, 10:40:49 PM7/21/08
to

> vim -u NONE
didn't work :(

PM

unread,
Jul 22, 2008, 6:28:50 AM7/22/08
to
puzzlecracker wrote:

>
> I did install gvim package, but when I start the app, i get the
> following error: E233: cannot open display

You need a X-Server to 'display' any X-Application

Gary Johnson

unread,
Jul 22, 2008, 11:18:09 AM7/22/08
to
puzzlecracker <irons...@gmail.com> wrote:
>
>> vim -u NONE
> didn't work :(

Hmm. I can see having trouble with the arrow keys running vim on a
typical Unix system, but I don't know what could go wrong on Cygwin.
What kind of console or terminal are you running vim in? What is the
response from the shell command "which vim"? What is the output of the
shell command "vim --version"? You might also run the command "cygcheck
-c" to verify that your Cygwin packages are complete and installed
correctly.

--
Gary Johnson

puzzlecracker

unread,
Jul 23, 2008, 8:56:48 AM7/23/08
to
On Jul 22, 11:18 am, Gary Johnson <garyj...@eskimo.com> wrote:

version is 7 th

Gary Johnson

unread,
Jul 23, 2008, 1:35:16 PM7/23/08
to

Thank you, but that's not what I asked for. I asked for the output of
the command "vim --version", which includes a lot of information about
how that particular instance of the executable was built.

Also, I'm grasping at straws here. I don't know what could be causing
the problem you're seeing, but I thought with enough information about
your system and the environment in which you're running vim, something
might pop out as a possible cause. Without more information than you've
provided so far, I can't do any more to help.

--
Gary Johnson

0 new messages