-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Mappings with Alt in operator-pending mode have a timing issue #9109
Comments
In the output of the |
Thanks for your reply! The line looks like follows:
|
Hm, I wonder why so many patches (almost a thousand) were omitted by whoever built that Vim. The usual way to build Vim on Linux is to include all patches, then let "make" and "configure" define the appropriate macros so that #ifdef and #ifndef will include or exclude code according to which packages are installed and which features are desired. I used to have a HowTo page online but my ISP has zapped all user sites (except those built by one of their webmasters and presumably paid for). Best regards, |
those are most likely security related patches that have been included. FWIW: I do not see this issue on Windows gvim. |
I can reproduce in xterm on linux:
Press Press Regression introduced in 8.2.0916. The same patch is also responsible for the issue #7082
It might depend on the system. In the issue #7082 , the OP wrote:
|
The problem is that the key with modifiers may be mapped with modifyOtherKeys as-is or with the modifier applied. |
Steps to reproduce
gvim --clean
c
, then wait until time equal totimeoutlen
setting passes, and the cursor changes its height to half of the line, and only then type<A-w>
. Otherwise the mapping won't trigger.Expected behaviour
I believe the mapping should be possible to trigger without waiting until
timeoutlen
elapses.Operating system
Linux, Ubuntu 21.04, no desktop environment -- running bare i3 windom manager
Version of Vim
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Sep 20 2021 11:49:18)
Logs and stack traces
No response
The text was updated successfully, but these errors were encountered: