Introduction
Introduction Statistics Contact Development Disclaimer Help
tex: preserve cursor position in :g - neatvi - [fork] simple vi-type editor wit…
git clone git://src.adamsgaard.dk/neatvi
Log
Files
Refs
README
---
commit 4b33509818c2ffd5648ac19de6a48a4010912e40
parent 2e55bac697aba82a162cd461a6112c82c7eaf871
Author: Ali Gholami Rudi <[email protected]>
Date: Thu, 23 Jun 2016 10:42:47 +0430
ex: preserve cursor position in :g
Diffstat:
M ex.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/ex.c b/ex.c
t@@ -818,7 +818,7 @@ static int ec_glob(char *ec)
int len = lbuf_len(xb);
xrow = i;
ex_exec(s);
- i += lbuf_len(xb) - len;
+ i = xrow;
end += lbuf_len(xb) - len;
}
i++;
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.