From d268609511dc77e1acbd3885642b82751d32bccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 10 Mar 2016 20:56:24 +0100 Subject: vis: let and in visual mode move to prev/next cursor We do currently not enforce a strict ordering among cursors. Hence these key bindings can move you to an arbitray position. In practice it somewhat works because most of the time cursors are created in "top-down" i.e from the start of the file towards the end. --- config.def.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index e6b2a7d..27fc4eb 100644 --- a/config.def.h +++ b/config.def.h @@ -198,8 +198,8 @@ static const KeyBinding bindings_normal[] = { { "", ALIAS("k") }, { "", ALIAS("") }, { "", ALIAS("") }, - { "", ALIAS("") }, - { "", ALIAS("") }, + { "", ACTION(CURSORS_PREV) }, + { "", ACTION(CURSORS_NEXT) }, { "", ACTION(WINDOW_SLIDE_UP) }, { "", ACTION(WINDOW_SLIDE_DOWN) }, { "", ACTION(JUMPLIST_PREV) }, @@ -269,8 +269,8 @@ static const KeyBinding bindings_visual[] = { { ":", ACTION(PROMPT_SHOW_VISUAL) }, { "", ALIAS("") }, { "", ALIAS("") }, - { "", ALIAS("") }, - { "", ALIAS("") }, + { "", ACTION(CURSORS_PREV) }, + { "", ACTION(CURSORS_NEXT) }, { "x", ALIAS("d") }, { "r", ALIAS("c") }, { "s", ALIAS("c") }, -- cgit v1.2.3