aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-03-27 23:25:30 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-03-28 12:25:06 +0200
commit7a8633966797c524849fda6c69344ed3d4d58474 (patch)
tree8a94cef513be2ff8e64cf43b5e7957c9b68cdda2 /config.def.h
parent6331bf38783810a01a233ac73fa94ed028a0e965 (diff)
downloadvis-7a8633966797c524849fda6c69344ed3d4d58474.tar.gz
vis-7a8633966797c524849fda6c69344ed3d4d58474.tar.xz
vis: let Meta-Ctrl-{j,k} create new cursor
on the line above/below the first/last existing cursor.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 827fb0c..b773f72 100644
--- a/config.def.h
+++ b/config.def.h
@@ -177,7 +177,9 @@ static const KeyBinding bindings_normal[] = {
{ "<C-c>", ALIAS("<Escape>") },
{ "<Delete>", ALIAS("x") },
{ "<C-k>", ACTION(CURSORS_NEW_LINE_ABOVE) },
+ { "<M-C-k>", ACTION(CURSORS_NEW_LINE_ABOVE_FIRST) },
{ "<C-j>", ACTION(CURSORS_NEW_LINE_BELOW) },
+ { "<M-C-j>", ACTION(CURSORS_NEW_LINE_BELOW_LAST) },
{ "<Tab>", ACTION(CURSORS_ALIGN) },
{ "<C-n>", ACTION(CURSOR_SELECT_WORD) },
{ "<C-p>", ACTION(CURSORS_REMOVE_LAST) },