Skip to content

vim-patch:9.1.1872: Cmdline history not updated when mapping <Up> and <CR>#37524

Merged
github-actions[bot] merged 1 commit intorelease-0.11from
backport-36334-to-release-0.11
Jan 23, 2026
Merged

vim-patch:9.1.1872: Cmdline history not updated when mapping <Up> and <CR>#37524
github-actions[bot] merged 1 commit intorelease-0.11from
backport-36334-to-release-0.11

Conversation

@neovim-backports
Copy link

Description

Backport of #36334 to release-0.11.

… <CR> (#36334)

Problem:  Cmdline history not updated when mapping both <Up> and <CR>.
Solution: Consider the command typed when in Cmdline mode and there is
          no pending input (zeertzjq).

Although the existing behavior technically does match documentation, the
"completely come from mappings" part is a bit ambiguous, because one may
argue that the command doesn't completely come from mappings as long as
the user has typed a key in Cmdline mode.  I'm not entirely sure if this
change will cause problems, but it seems unlikely.

fixes: vim/vim#2771
related: #36256
closes: vim/vim#18607

vim/vim@97b6e8b
(cherry picked from commit 2407833)
@github-actions github-actions bot enabled auto-merge (rebase) January 23, 2026 23:14
@github-actions github-actions bot added vim-patch See https://neovim.io/doc/user/dev_vimpatch.html target:release labels Jan 23, 2026
@github-actions github-actions bot merged commit 9a50420 into release-0.11 Jan 23, 2026
31 checks passed
@github-actions github-actions bot deleted the backport-36334-to-release-0.11 branch January 23, 2026 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

target:release vim-patch See https://neovim.io/doc/user/dev_vimpatch.html

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant