Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Underscore character cannot be entered #545

Open
mj-2017 opened this issue Jun 10, 2020 · 3 comments
Open

Underscore character cannot be entered #545

mj-2017 opened this issue Jun 10, 2020 · 3 comments

Comments

@mj-2017
Copy link

mj-2017 commented Jun 10, 2020

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
Copy link

kting28 commented Jun 11, 2020

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
Copy link

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
Copy link

trou commented Nov 30, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants