aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-02-18 16:44:49 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-02-18 16:44:49 +0100
commit2b96fa270d3708751beed3f7334178d7713af2b9 (patch)
tree3dcbc586f9e4ac80a2143ae9baf1744b25014619
parentb2e2b449d26a794f10929a2861df4c1b33af7966 (diff)
downloadvis-2b96fa270d3708751beed3f7334178d7713af2b9.tar.gz
vis-2b96fa270d3708751beed3f7334178d7713af2b9.tar.xz
vis: use <Tab> to align multiple cursors in normal mode
-rw-r--r--README.md2
-rw-r--r--config.def.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 3ff1754..15dc247 100644
--- 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
index 4902415..faab0e8 100644
--- 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>") },