tvi: set ' mark before paragraph and section motions - neatvi - [fork] simple vi-type editor with UTF-8 support (HTM) git clone git://src.adamsgaard.dk/neatvi (DIR) Log (DIR) Files (DIR) Refs (DIR) README --- (DIR) commit fe13d22d2b7d68dfcbe6cd7317e74778993cc01f (DIR) parent 4135d145fd1d5329c1078e7c59693ab146d0ad39 (HTM) Author: Ali Gholami Rudi <ali@rudi.ir> 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(-) --- (DIR) 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))