tvi: set ' mark before paragraph and section motions - neatvi - [fork] simple v… | |
git clone git://src.adamsgaard.dk/neatvi | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit fe13d22d2b7d68dfcbe6cd7317e74778993cc01f | |
parent 4135d145fd1d5329c1078e7c59693ab146d0ad39 | |
Author: Ali Gholami Rudi <[email protected]> | |
Date: Sat, 16 May 2015 12:53:25 +0430 | |
vi: set ' mark before paragraph and section motions | |
Diffstat: | |
M vi.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/vi.c b/vi.c | |
t@@ -1023,7 +1023,7 @@ static void vi(void) | |
vi_ybuf = vi_yankbuf(); | |
mv = vi_motion(&xrow, &xcol); | |
if (mv > 0) { | |
- if (strchr("\'GHML/?", mv)) | |
+ if (strchr("\'GHML/?{}[]", mv)) | |
lbuf_mark(xb, '\'', orow); | |
if (xcol < 0) { | |
if (strchr("jk", mv)) |