Hello,
I don't know if somebody is interested in problems related to vim in
the Cygwin environment.
If yes, please do the following:
- Copy the following .vimrc in your Cygwin home directory (I have
Cygwin 1.7.7-1)
set nocompatible
set insertmode
set number
" allow backspacing over everything in insert mode
set backspace=indent,eol,start
inoremap <C-Down> <C-O>10<C-E>
- Launch mintty
- type vi file1 (file1 must have at least 200 lines)
- press CTRL-CursorDown: first line of screen is 11 (OK)
- press CTRL-CursorDown: first line of screen is 21 (OK)
....
- press CTRL-CursorDown: first line of screen is 171 (OK)
- press CTRL-CursorDown: Cursor goes down to line 171 (NOT OK)
To quit vim, type CTRL-O :q!
Remarks:
- The problem also occurs when running a distant vim (with the
same .vimrc) after ssh on a remote unix server in the same mintty
window.
- The problem also occurs when doing the same thing in an Cygwin/xterm
window (launch XWin server) but at line 111 instead of line 171.
- The problem does not occur in the following cases:
. launching vim from a cmd.exe window (standard cygwin.bat) with
inoremap [1;5B <C-O>10<C-E>
in the .vimrc
. launching vim in an xterm window created from a pure linux
configuration.
. using Cygwin/gvim
. launching a distant vim in a PuTTY window
- The problem vanishes when replacing "inoremap" with "imap" in
the .vimrc
- The problem has been reproduced by Andy Koppe (author of mintty) who
thinks it is a vim issue. See http://groups.google.com/group/mintty-discuss.
Best regards,
Jean Johner
--
You received this message from the "vim_dev" 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