aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-04-27 11:15:52 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-04-27 11:15:52 +0200
commitc18f3b380da365ee9f8503d6f237d23218b84c77 (patch)
tree9095d7612a22395bf92f310b4669f5551e46ff45
parent8e94296f3a6ced00849bec0ab0ec80a3be52015c (diff)
downloadvis-c18f3b380da365ee9f8503d6f237d23218b84c77.tar.gz
vis-c18f3b380da365ee9f8503d6f237d23218b84c77.tar.xz
vis: change behavior of $ to never move to the left
-rw-r--r--config.def.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index f01d556..8699136 100644
--- a/config.def.h
+++ b/config.def.h
@@ -34,7 +34,7 @@ static const KeyBinding bindings_motions[] = {
{ "]}", ACTION(CURSOR_BLOCK_END) },
{ "[(", ACTION(CURSOR_PARENTHESE_START) },
{ "])", ACTION(CURSOR_PARENTHESE_END) },
- { "$", ACTION(CURSOR_LINE_LASTCHAR) },
+ { "$", ACTION(CURSOR_LINE_END) },
{ "^", ACTION(CURSOR_LINE_START) },
{ "}", ACTION(CURSOR_PARAGRAPH_NEXT) },
{ "{", ACTION(CURSOR_PARAGRAPH_PREV) },
@@ -221,7 +221,6 @@ static const KeyBinding bindings_normal[] = {
{ "<C-y>", ACTION(WINDOW_SLIDE_DOWN) },
{ "D", ALIAS("d$") },
{ "<Delete>", ALIAS("x") },
- { "<End>", ALIAS("$") },
{ "<Escape>", ACTION(CURSORS_REMOVE_ALL) },
{ "<F1>", ALIAS(":help<Enter>") },
{ "ga", ACTION(UNICODE_INFO) },