Skip to content

Commit

Permalink
Handle Ctrl-Q like Ctrl-V when replacing chars
Browse files Browse the repository at this point in the history
closes vim#12684
  • Loading branch information
chrisbra committed Jul 18, 2023
1 parent d392a74 commit 033c44c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/normal.c
Original file line number Diff line number Diff line change
Expand Up @@ -4767,7 +4767,7 @@ nv_replace(cmdarg_T *cap)
#endif

// get another character
if (cap->nchar == Ctrl_V)
if (cap->nchar == Ctrl_V || cap->nchar == Ctrl_Q)
{
had_ctrl_v = Ctrl_V;
cap->nchar = get_literal(FALSE);
Expand Down

0 comments on commit 033c44c

Please sign in to comment.