diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-02-26 23:02:01 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-02-26 23:04:54 +0800 |
commit | 6644742c26e4d8da999cf00754b6e6ee0ba0618f (patch) | |
tree | 02d426b284c36d86d34277fde62ceede99545044 /src/nvim/normal.c | |
parent | 5e846978e3bf85ea5ae5b505af267c01e98f6135 (diff) | |
download | rneovim-6644742c26e4d8da999cf00754b6e6ee0ba0618f.tar.gz rneovim-6644742c26e4d8da999cf00754b6e6ee0ba0618f.tar.bz2 rneovim-6644742c26e4d8da999cf00754b6e6ee0ba0618f.zip |
vim-patch:9.0.1356: cannot cancel "gr" with Esc
Problem: Cannot cancel "gr" with Esc.
Solution: Make "gr<Esc>" do nothing. (closes vim/vim#12064)
https://github.com/vim/vim/commit/4f026ea9f1ad9db262f0dba522768c84e5ae37b4
N/A patches for version.c:
vim-patch:9.0.1347: "gr CTRL-O" stays in Insert mode
Problem: "gr CTRL-O" stays in Insert mode. (Pierre Ganty)
Solution: Do not set restart_edit when "cmdchar" is 'v'. (closes vim/vim#12045)
https://github.com/vim/vim/commit/2824d1ee325ea61855c26f77e7a4e095b9606720
vim-patch:9.0.1349: "gr" with a count fails
Problem: "gr" with a count fails.
Solution: Break out of the loop only after using the count.
https://github.com/vim/vim/commit/3ddb1182b7b8d376e59b444f6b3e213f0dcd3417
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index 33d04f76af..ef8f6e7b0f 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -4710,7 +4710,7 @@ static void nv_vreplace(cmdarg_T *cap) return; } - if (checkclearopq(cap->oap)) { + if (checkclearopq(cap->oap) || cap->extra_char == ESC) { return; } |