vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 5f68c9a6bf512d15b82a2e323a14128f47301bd1
parent 34955baa421d5dfc7c75e675693d2d352622bd28
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Thu, 18 Feb 2016 16:44:49 +0100

vis: use <Tab> to align multiple cursors in normal mode

Diffstat:
MREADME.md | 2+-
Mconfig.def.h | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md @@ -197,7 +197,7 @@ Operators can be forced to work line wise by specifying `V`. CTRL-J create a new cursor on the line below CTRL-P remove least recently added cursor CTRL-N select word the cursor is currently over, switch to visual mode - CTRL-A try to align all cursor on the same column + TAB try to align all cursor on the same column ESC if a selection is active, clear it. Otherwise dispose all but the primary cursor. diff --git a/config.def.h b/config.def.h @@ -172,7 +172,7 @@ static const KeyBinding bindings_normal[] = { { "<Delete>", ALIAS("x") }, { "<C-k>", ACTION(CURSORS_NEW_LINE_ABOVE) }, { "<C-j>", ACTION(CURSORS_NEW_LINE_BELOW) }, - { "<C-a>", ACTION(CURSORS_ALIGN) }, + { "<Tab>", ACTION(CURSORS_ALIGN) }, { "<C-n>", ACTION(CURSOR_SELECT_WORD) }, { "<C-p>", ACTION(CURSORS_REMOVE_LAST) }, { "<C-w>n", ALIAS(":open<Enter>") },