vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 5670f8fbbabc29cfcd2dbadd5bb196eded3041b6 parent d7340ac030d3ed7f0d8045e569363d0acd58fdf0 Author: Marc André Tanner <mat@brain-dump.org> Date: Tue, 19 Jan 2016 13:19:18 +0100 vis: keep selection in visual mode after shift operators Diffstat:
| M | config.def.h | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/config.def.h b/config.def.h @@ -254,6 +254,8 @@ static const KeyBinding bindings_visual[] = { { "s", ALIAS("c") }, { "J", ACTION(JOIN_LINES) }, { "o", ACTION(SELECTION_FLIP) }, + { ">", ALIAS("<vis-operator-shift-right>gv") }, + { "<", ALIAS("<vis-operator-shift-left>gv") }, { 0 /* empty last element, array terminator */ }, };