Thursday, November 7, 2019

Re: CTRL-P broken in version 8.1.2267

other Ctrl-Key cann't works as expected

Ctrl-a  ->  'a'
Ctrl-b  ->  'b' 

my .Xdefaults: 
xyzok@debian:~$ cat .Xdefaults
#XTerm*font: -*-fixed-*-*-*-13-*
#XTerm*font: -*-terminus-*-*-*-16-*
XTerm*font:-*-unibit-*
XTerm*wideFont:-*-unibit-*
XTerm*foreground: black
XTerm*background: gray
XTerm*saveLines: 10240
XTerm*sessionMgt: false
XTerm*metaSendsEscape: false
XTerm*utf8Title: true
XTerm*preeditType: Root
#XTerm*rightScrollBar: true
#XTerm*scrollBar: true
#XTerm*pointerShape: circle
XTerm*pointerShape: dot
XTerm*pointerColor: red
Xft dpi:128
XTerm*charClass:47:48,46:48,45:48
XTerm*cjkWidth:false

my .vimrc:
xyzok@debian:~$ cat .vimrc
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal g'\"" | endif
set tabstop=4
set ruler
set showcmd
set undodir=~/.vim
set undofile
set undolevels=1000
set undoreload=3200
syntax on
set hlsearch
"set expandtab
"set encoding=utf-8
set fileencodings=default,gb18030,gb2312,utf-8
"set cindent shiftwidth=2
color default
map <A-1> 1gt
map <A-2> 2gt
map <A-3> 3gt
map <A-4> 4gt
map <A-5> 5gt
map <A-6> 6gt

On Thursday, November 7, 2019 at 5:29:37 PM UTC+8, Marius Gedminas wrote:
On Wed, Nov 06, 2019 at 10:58:13PM -0800, WU RUXU wrote:
> 1. Debian Linux
> 2. Console mode
> 3. xterm-250
> 4. vim in INSERT mode,  after user press CTRL-P , should be active keyword
> completion.
>
> When I vim 8.0, this feature is work very well, but vim 8.1.2267, I found that
> this feature is broken
>
> In INSERT mode, after I press CTRL-P , vim cann't active keyword completion

Does this affect only Ctrl-P or every Ctrl-letter key?  You can test by
pressing Ctrl-V Ctrl-A and you should see ^A inserted.

This might be related to xterm's modifyOtherKeys support added in recent
Vim versions.

(I'm not entirely sure how modifyOtherKeys work as I don't use xterm
myself.  Does one have to enable it via ~/.Xresources or does vim detect
an xterm and enable it automatically via magic OSI sequences?)

Marius Gedminas
--
If you have to run heating in winter, you don't own enough computers.

--
--
You received this message from the "vim_use" 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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/22bec88c-d15a-41c6-b7bd-86643905cf6b%40googlegroups.com.

No comments: