aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-07-10 17:27:04 +0200
committerMarc André Tanner <mat@brain-dump.org>2017-07-10 18:26:05 +0200
commitd4bba6e46fa1ab67947508c95a4198dbcf060489 (patch)
tree070f4d37fe37433ce68bf7aa77ba23bc475563c5 /config.def.h
parent6e0532af78294c76d0e0a187a40d330518bab0a8 (diff)
downloadvis-d4bba6e46fa1ab67947508c95a4198dbcf060489.tar.gz
vis-d4bba6e46fa1ab67947508c95a4198dbcf060489.tar.xz
vis: implement jump list in terms of marks
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index b98eeab..b210ef3 100644
--- a/config.def.h
+++ b/config.def.h
@@ -156,6 +156,9 @@ static const KeyBinding bindings_selections[] = {
{ "_", ACTION(SELECTIONS_TRIM) },
{ "<S-Tab>", ACTION(SELECTIONS_ALIGN_INDENT_RIGHT) },
{ "<Tab>", ACTION(SELECTIONS_ALIGN_INDENT_LEFT) },
+ { "g<", ACTION(JUMPLIST_PREV) },
+ { "gs", ACTION(JUMPLIST_SAVE) },
+ { "g>", ACTION(JUMPLIST_NEXT) },
{ 0 /* empty last element, array terminator */ },
};
@@ -209,12 +212,10 @@ static const KeyBinding bindings_normal[] = {
{ "<C-d>", ACTION(SELECTIONS_NEXT) },
{ "<C-e>", ACTION(WINDOW_SLIDE_UP) },
{ "<C-f>", ALIAS("<PageDown>") },
- { "<C-i>", ACTION(JUMPLIST_NEXT) },
{ "<C-j>", ACTION(SELECTIONS_NEW_LINE_BELOW) },
{ "<C-k>", ACTION(SELECTIONS_NEW_LINE_ABOVE) },
{ "<C-l>", ACTION(SELECTIONS_REMOVE_COLUMN_EXCEPT) },
{ "<C-n>", ACTION(SELECTIONS_MATCH_WORD) },
- { "<C-o>", ACTION(JUMPLIST_PREV) },
{ "<C-p>", ACTION(SELECTIONS_REMOVE_LAST) },
{ "<C-r>", ACTION(REDO) },
{ "<C-u>", ACTION(SELECTIONS_PREV) },