[vim/vim] Not able to use legacy expression evaluation in a vim9script insert-mode map (PR #20177)

14 views
Skip to first unread message

Yegappan Lakshmanan

unread,
May 9, 2026, 3:14:27 PM (2 days ago) May 9
to vim/vim, Subscribed

When the legacy command modifier is used with an insert mode map in a vim9 script, treat the map as defined in a legacy script.

Fixes #20176.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/20177

Commit Summary

  • 210fa19 Not able to use legacy expression evaluation in a vim9script insert-mode map

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20177@github.com>

Christian Brabandt

unread,
May 10, 2026, 11:25:14 AM (yesterday) May 10
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#20177)

That was fast, thanks Yegappan and welcome back :)

I suppose this also fixes other mapping modes?


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20177/c4415641794@github.com>

Christian Brabandt

unread,
May 10, 2026, 12:41:56 PM (23 hours ago) May 10
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#20177)

Yes, it does :)


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20177/c4415799653@github.com>

Christian Brabandt

unread,
May 10, 2026, 12:47:12 PM (23 hours ago) May 10
to vim/vim, Subscribed

Closed #20177 via 6b8d226.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20177/issue_event/25356030232@github.com>

Yegappan Lakshmanan

unread,
12:36 AM (11 hours ago) 12:36 AM
to vim/vim, Subscribed
yegappan left a comment (vim/vim#20177)

That was fast, thanks Yegappan and welcome back :)

Thanks.

I suppose this also fixes other mapping modes?

Yes. It does fix the issue in other modes also. I will add additional tests for other modes.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20177/c4417623213@github.com>

Reply all
Reply to author
Forward
0 new messages