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
Record macro with command on visual selection fails due to incorrect recording of '<,'>
To Reproduce
in normal mode with caret on start of text
"123
456
"
start record macro a, switch to vis line mode and select all lines of paragraph , enter command mode and type 'norm I XXX ', press return to execute commmand, then press q to stop recording
keystrokes: qaV}k:norm I XXX q
Expected behavior
register "a should contain 'V}k;norm I XXX '
and excuting macro a should insert 'XXX ' at start of each line
** Actual result
register "a contains 'V}k;'<,'>norm I XXX '
note the sequence '<,>' before the command text
and as a result exucuting macro fails with
Parse error: '
The text was updated successfully, but these errors were encountered:
Describe the bug
Record macro with command on visual selection fails due to incorrect recording of '<,'>
To Reproduce
in normal mode with caret on start of text
"123
456
"
start record macro a, switch to vis line mode and select all lines of paragraph , enter command mode and type 'norm I XXX ', press return to execute commmand, then press q to stop recording
keystrokes: qaV}k:norm I XXX q
Expected behavior
register "a should contain 'V}k;norm I XXX '
and excuting macro a should insert 'XXX ' at start of each line
** Actual result
register "a contains 'V}k;'<,'>norm I XXX '
note the sequence '<,>' before the command text
and as a result exucuting macro fails with
Parse error: '
The text was updated successfully, but these errors were encountered: