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
When recording a macro, if you type in a command (or search), XVim uses normal mode remaps instead of command mode remaps (which can be a pretty big problem if you remap <CR> to G in normal mode, for example).
Steps to Reproduce
Create a normal mode remap in your .xvimrc (for example nnoremap <CR> G)
Open Xcode
Start recording a macro
Enter a command or search term
Try typing the key that you remapped in your .xvimrc
Observe that the mapping is applied even though you aren't (supposed to be) in normal mode
Expected Result
The key is not remapped since you should be in command mode, not normal mode.
Actual Result
The key is remapped according to the mapping you set in your .xvimrc.
Summary
When recording a macro, if you type in a command (or search), XVim uses normal mode remaps instead of command mode remaps (which can be a pretty big problem if you remap
<CR>
toG
in normal mode, for example).Steps to Reproduce
nnoremap <CR> G
)Expected Result
The key is not remapped since you should be in command mode, not normal mode.
Actual Result
The key is remapped according to the mapping you set in your .xvimrc.
More Info
Running latest develop (fef0895) on Xcode 11.0
The text was updated successfully, but these errors were encountered: