Skip to content

Commit

Permalink
vi: misc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kyx0r committed Aug 22, 2023
1 parent 0a44ce4 commit 0f2abd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vi.c
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ static int vi_motion(int *row, int *off)
struct buf* tmpex_buf = istempbuf(ex_buf) ? ex_pbuf : ex_buf;
if (mv == TK_CTL(']')) {
if (vi_arg1 || lkwdcnt != xkwdcnt)
term_exec("qq", 4, /*nop*/, /*nop*/)
term_exec("qq", 3, /*nop*/, /*nop*/)
lkwdcnt = xkwdcnt;
fspos += fsdir < 0 ? 1 : 0;
fspos = MIN(fspos, lbuf_len(tempbufs[1].lb));
Expand Down Expand Up @@ -899,7 +899,7 @@ static int vi_motion(int *row, int *off)
return -1;
break;
case '\\':
ex_command("b-2");
temp_switch(1);
*row = xrow; *off = xoff;
break;
default:
Expand Down

0 comments on commit 0f2abd1

Please sign in to comment.