public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Trouble with <tab> key in vim (and more)
@ 2005-07-17  7:34 Myles
  2005-07-17  7:40 ` Kaz Kylheku
  0 siblings, 1 reply; 3+ messages in thread
From: Myles @ 2005-07-17  7:34 UTC (permalink / raw)
  To: cygwin

Hi forum,

When trying to use <TAB> to complete on help items, or file loading,
or etc, I get a ^I (ctrl-I) character instead. For example:

:h h<TAB><TAB>

I see

:h h^I^I

Also, the arrow keys don't work like they're supposed to. Like if I've
alreads performed some : commands and then I

:<UP-ARROW>

I don't get recall like I should.

Can someone else try this in their vim and see how it acts for you? I
suppose I could have corrupted some kind of term info stuff, but I
don't know how.

Thanks!
--Myles

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Trouble with <tab> key in vim (and more)
  2005-07-17  7:34 Trouble with <tab> key in vim (and more) Myles
@ 2005-07-17  7:40 ` Kaz Kylheku
  2005-07-18  1:33   ` Myles
  0 siblings, 1 reply; 3+ messages in thread
From: Kaz Kylheku @ 2005-07-17  7:40 UTC (permalink / raw)
  To: Myles; +Cc: cygwin

On Sun, 17 Jul 2005, Myles wrote:

> Hi forum,
> 
> When trying to use <TAB> to complete on help items, or file loading,
> or etc, I get a ^I (ctrl-I) character instead. For example:
> 
> :h h<TAB><TAB>
> 
> I see
> 
> :h h^I^I
> 
> Also, the arrow keys don't work like they're supposed to. Like if I've
> alreads performed some : commands and then I
>
> :<UP-ARROW>
> 
> I don't get recall like I should.

This is the normal vim behavior. Unless you configure vim otherwise via
``:set nocompatible,'' it behaves in a vi compatibility mode. You stick
this into your .vimrc file.

Someone must have enabled this for you in the previous Vim
installations, or else you did it so long ago that you forgot about it.

-- 
Meta-CVS: the working replacement for CVS that has been stable since
2002.  It versions the directory structure, symbolic links and execute
permissions. It figures out renaming on import. Plus it babysits the kids
and does light housekeeping! http://freshmeat.net/projects/mcvs


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Trouble with <tab> key in vim (and more)
  2005-07-17  7:40 ` Kaz Kylheku
@ 2005-07-18  1:33   ` Myles
  0 siblings, 0 replies; 3+ messages in thread
From: Myles @ 2005-07-18  1:33 UTC (permalink / raw)
  To: Kaz Kylheku; +Cc: cygwin

Cool. That was the problem Kaz. Thanks. The reason I've never run into
it before is because I've never run vim without a .vimrc before. But I
was starting with a fresh install of cygwin and a blank home
directory. I haven't yet copied over my usual .vimrc. Since a lot of
things are a little quirky with cygwin, I just assumed that was the
source of the problem. I've never had to use nocompatible before since
just having a .vimrc is all you need to turn off compatibility.

From vim help on compatible
=====================
By default this option is on and the Vi defaults are used for the
options.  This default was chosen for those people who want to use Vim
just like Vi, and don't even (want to) know about the 'compatible'
option.
When a ".vimrc" file is found while Vim is starting up, this option is
switched off, and all options that have not been modified will be set
to the Vim defaults.  Effectively, this means that when a ".vimrc"
file exists, Vim will use the Vim defaults, otherwise it will use the
Vi defaults.

On 7/17/05, Kaz Kylheku <kaz@ashi.footprints.net> wrote:
> On Sun, 17 Jul 2005, Myles wrote:
> 
> > Hi forum,
> >
> > When trying to use <TAB> to complete on help items, or file loading,
> > or etc, I get a ^I (ctrl-I) character instead. For example:
> >
> > :h h<TAB><TAB>
> >
> > I see
> >
> > :h h^I^I
> >
> > Also, the arrow keys don't work like they're supposed to. Like if I've
> > alreads performed some : commands and then I
> >
> > :<UP-ARROW>
> >
> > I don't get recall like I should.
> 
> This is the normal vim behavior. Unless you configure vim otherwise via
> ``:set nocompatible,'' it behaves in a vi compatibility mode. You stick
> this into your .vimrc file.
> 
> Someone must have enabled this for you in the previous Vim
> installations, or else you did it so long ago that you forgot about it.
> 
> --
> Meta-CVS: the working replacement for CVS that has been stable since
> 2002.  It versions the directory structure, symbolic links and execute
> permissions. It figures out renaming on import. Plus it babysits the kids
> and does light housekeeping! http://freshmeat.net/projects/mcvs
> 
>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-07-18  1:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-17  7:34 Trouble with <tab> key in vim (and more) Myles
2005-07-17  7:40 ` Kaz Kylheku
2005-07-18  1:33   ` Myles

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).