You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If I use R to replace more than one character, I can't switch back to normal mode with the remapped keys jk ( I use jk to switch to back to normal mode instead of <esc>).
To Reproduce
Steps to reproduce the behavior:
Press Shift + r
Type a sequence of characters
Press j then k
Expected behavior
I expect if I can switch from Replace mode to Normal mode using jk.
Screenshots
Environment (please complete the following information):
Issue Type: Bug
Extension Name: vim
Extension Version: 1.11.0
OS Version: Linux x64 4.15.0-62-generic
VSCode version: 1.38.1
Additional context
I think it would be nice if we could do mapping for Replace mode, something like this:
PR #4735 fixes this. It uses the insertModeKeyBindings and insertModeKeyBindingsNonRecursive which are analogous to Vims imap and inoremap. Insert mode mappings are used both on insert mode and replace mode. I don't think there is a need for specific mappings just for replace mode.
The problem in this issue will be fixed once that PR gets merged.
This is a pretty massive change; see pull request #4735 for full details
Most notably:
- Support for operator-pending mode, including remaps and a half-cursor decoration
- Correct handling of ambiguous remaps with timeout
- Correct handling of recursive special case when the RHS starts with the LHS
- Correct handling of multi-key remaps in insert mode
- Failed movements that occur partway through a remap stop & discard the rest of the remap
- Implement `unmap` and `mapclear` in .vimrc
Refs #463, refs #4908Fixes#1261, fixes#1398, fixes#1579, fixes#1821, fixes#1835Fixes#1870, fixes#1883, fixes#2041, fixes#2234, fixes#2466Fixes#2897, fixes#2955, fixes#2975, fixes#3082, fixes#3086Fixes#3171, fixes#3373, fixes#3413, fixes#3742, fixes#3768Fixes#3988, fixes#4057, fixes#4118, fixes#4236, fixes#4353Fixes#4464, fixes#4530, fixes#4532, fixes#4563, fixes#4674Fixes#4756, fixes#4883, fixes#4928, fixes#4991, fixes#5016Fixes#5057, fixes#5067, fixes#5084, fixes#5125
Describe the bug
If I use
R
to replace more than one character, I can't switch back to normal mode with the remapped keysjk
( I usejk
to switch to back to normal mode instead of<esc>
).To Reproduce
Steps to reproduce the behavior:
Shift + r
j
thenk
Expected behavior
I expect if I can switch from Replace mode to Normal mode using
jk
.Screenshots
Environment (please complete the following information):
Bug
vim
1.11.0
Linux x64 4.15.0-62-generic
1.38.1
Additional context
I think it would be nice if we could do mapping for Replace mode, something like this:
The text was updated successfully, but these errors were encountered: