This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.7.35: possible backspace key and arrow keys bug
- From: Renà Berber <r dot berber at computer dot org>
- To: cygwin at cygwin dot com
- Date: Thu, 09 Apr 2015 13:51:30 -0500
- Subject: Re: 1.7.35: possible backspace key and arrow keys bug
- Authentication-results: sourceware.org; auth=none
- References: <CAMOkCRZ4Tdg+UoydTj+ntXyyFvbhk8ug6A+LXAG3+zOw4UfuTw at mail dot gmail dot com> <20150408221622 dot GK20741 at dinwoodie dot org> <CAF+j1MP-dtu66bq_kj5qQ7W7m7m64A1RvwW=Cga6-o1W2X5JUw at mail dot gmail dot com> <20150409173434 dot GC6901 at calimero dot vinschen dot de>
On 4/9/2015 12:34 PM, Corinna Vinschen wrote:
> On Apr 9 09:54, Weston Turner wrote:
>> I corroborate the original poster's experience with this issue.
>>
>> Steps to reproduce the issue: for example open a file with vim
>> under Cygwin, press: up, up, down, down, left, left, right,
>> right. Vim under Cygwin places:
>>
>> C C D D B B A A
>>
>> in the file due to the arrow keys being pressed. Vim under bash
>> on Linux or the Mac terminal does not treat the arrow keys as
>> file input, but rather simply uses them to move the cursor about
>> in the file.
>
> WJFFM, as on Linux, in command mode as well as in insert mode.
You probably have a .vimrc on Cygwin, and the same or /etc/vimrc on Linux.
The real question:
Why vim on Cygwin doesn't install, or use if you add one, /etc/vimrc?
On Linux I have one with the following contents (which fixes the
thread problem):
" Begin /etc/vimrc
set nocompatible
set backspace=2
syntax on
set background=dark
if (&term == "iterm") || (&term == "putty")
set background=dark
endif
" End /etc/vimrc
The 5th line doesn't work with the version installed on Cygwin, so you
have to comment it; but it would be nice to also have syntax highlighting.
--
Renà Berber
--
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