aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-12-21 12:25:58 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-12-21 12:54:31 +0100
commit559ab349a05d5201b666eddb22d921c40b131bd5 (patch)
tree107c95f6ddc10bec2837ed452aa97410a572b9cc /config.def.h
parent0109dfc0d4e65751571a86aa91ae3c9947182ba0 (diff)
downloadvis-559ab349a05d5201b666eddb22d921c40b131bd5.tar.gz
vis-559ab349a05d5201b666eddb22d921c40b131bd5.tar.xz
vis: implement `go` to move to absolute byte position
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index cc68a84..eb01ac9 100644
--- a/config.def.h
+++ b/config.def.h
@@ -65,6 +65,7 @@ static const KeyBinding bindings_motions[] = {
{ "<Enter>", ALIAS("j") },
{ "F", ACTION(TO_LEFT) },
{ "f", ACTION(TO_RIGHT) },
+ { "go", ACTION(CURSOR_BYTE) },
{ "g0", ACTION(CURSOR_SCREEN_LINE_BEGIN) },
{ "g_", ACTION(CURSOR_LINE_FINISH) },
{ "G", ACTION(CURSOR_LINE_LAST) },