ctrlpvim / ctrlp.vim

Active fork of kien/ctrlp.vim—Fuzzy file, buffer, mru, tag, etc finder.
ctrlpvim.github.com/ctrlp.vim
Other
5.57k stars 259 forks source link

Underscore character cannot be entered #545

Open mj-2017 opened 4 years ago

mj-2017 commented 4 years ago

I am using CtrlP v1.80 with vim8.2-940 on Linux (RHEL6.8). I recently updated from vim8.1 . A new issue popped up with vim8.2-940: I can no longer enter an underscore character at the CtrlP prompt. All other chars seems to be fine, but when I try to type '_' nothing is inserted appended on the search string.

I cleared my .vimrc off all entries except those to load/configure CtrlP, and the problem still occurred. Furthermore, nothhing has changed in the CtrlP related lines in my .vimrc .

kting28 commented 4 years ago

I have the same issue , I traced the problem to somewhere between 8.2 patch 566 and 775: Included patches: 1-566 : underscore works in gvim ctrlp prompt Included patches: 1-775 : underscore does not work in gvim ctrlp prompt This issue only happens in gvim, not console vim.

sanjaypatelic commented 4 years ago

I noticed that the issue can be fixed by setting g:ctrlp_key_loop=1 to enable multi byte characters. However, it will take away g:ctrlp_lazy_update from you!!

trou commented 3 years ago

Hi, I found this issue when trying to enter digits on my AZERTY keyboard (which requires shift). Using the let g:ctrlp_key_loop=1 trick makes it work.