This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: vi editing at bash command line: cc command doesn't work
- From: Paul.Domaskis <Paul dot Domaskis at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 8 Sep 2014 23:14:26 +0000 (UTC)
- Subject: Re: vi editing at bash command line: cc command doesn't work
- Authentication-results: sourceware.org; auth=none
- References: <loom dot 20140909T004817-488 at post dot gmane dot org>
<Paul.Domaskis> writes:
> I needed cygwin on a new work computer that was locked down. I
> created a DVD from all the 64-bit packages some time in the first
> quarter of 2014, then took the several months needed to get approval
> for its installation. I then replicated the environment from an old
> work computer with a 32-bit installation of cygwin, including:
> ~/.inputrc
> ~/.minttyrc
> ~/.bash_profile
> ~/.bashrc
> /usr/share/vim/vimrc
> /usr/share/vim/vimfiles
>
> Everything works well *except* for the fact that when using vi-like
> editing at the bash command line, the cc command does not clear the
> line and enter insert mode. This is the same regardless of whether
> I am using a mintty or an xterm in X-windows. However, if I invoke
> vim from either of those 2 environments, cc does work. It also
> works when I run gvim from xterm, and when I run gvim compiled for
> Microsoft Windows.
>
> What more can I check to try and narrow down the cause of the
> problem?
>
> Below, I have pasted in anonymized content from the above files.
<...snip...>
Please note that when I say cc doesn't work with vi-editing at the
bash command line, I mean that nothing happens.
Also, I did not clean up the vimrc file because I suspect that there
is very little chance that it was the culprit. I believed that
nothing from vimrc is used for vi-editing at the command line. I
confirmed this just now by renaming /usr/share/vim/vim{rc,files} and
observing the same problem with vi-editing at the command line.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple