Introduction
Introduction Statistics Contact Development Disclaimer Help
tvi: cursor column may need to be updated after next/previous page - neatvi - […
git clone git://src.adamsgaard.dk/neatvi
Log
Files
Refs
README
---
commit c200015e9b9aca02b6d622a55929e2b30e4912a5
parent f8720edb1fa5041b65ab16ff41f800ee70774555
Author: Ali Gholami Rudi <[email protected]>
Date: Sat, 30 Sep 2017 07:33:00 +0330
vi: cursor column may need to be updated after next/previous page
Diffstat:
M vi.c | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/vi.c b/vi.c
t@@ -1090,11 +1090,13 @@ static void vi(void)
if (vi_scrollbackward(MAX(1, vi_arg1) * (xrows…
break;
xoff = lbuf_indents(xb, xrow);
+ mod = 1;
break;
case TK_CTL('f'):
if (vi_scrollforeward(MAX(1, vi_arg1) * (xrows…
break;
xoff = lbuf_indents(xb, xrow);
+ mod = 1;
break;
case TK_CTL('e'):
if (vi_scrollforeward(MAX(1, vi_arg1)))
t@@ -1114,6 +1116,7 @@ static void vi(void)
if (xtop > 0)
xtop = MAX(0, xtop - n);
xoff = lbuf_indents(xb, xrow);
+ mod = 1;
break;
case TK_CTL('d'):
if (xrow == lbuf_len(xb) - 1)
t@@ -1125,6 +1128,7 @@ static void vi(void)
if (xtop < lbuf_len(xb) - xrows)
xtop = MIN(lbuf_len(xb) - xrows, xtop …
xoff = lbuf_indents(xb, xrow);
+ mod = 1;
break;
case TK_CTL('z'):
term_pos(xrows, 0);
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.