summaryrefslogtreecommitdiff
path: root/lib/chessh/ssh/client
diff options
context:
space:
mode:
authorSimponic <elizabeth.hunt@simponic.xyz>2023-02-11 00:08:30 -0700
committerSimponic <elizabeth.hunt@simponic.xyz>2023-02-11 00:08:30 -0700
commite5ac660413fd8e2879706cfb06c476aae9164b31 (patch)
tree5b606f57dfce2ae9b087ec9e0dd4fe5ce2e0e35f /lib/chessh/ssh/client
parentbf9363aaf8d5d2ef2360caad85f2c518a7ccbf5c (diff)
downloadchessh-e5ac660413fd8e2879706cfb06c476aae9164b31.tar.gz
chessh-e5ac660413fd8e2879706cfb06c476aae9164b31.zip
Add vim keybindings, man pages
Diffstat (limited to 'lib/chessh/ssh/client')
-rw-r--r--lib/chessh/ssh/client/client.ex5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/chessh/ssh/client/client.ex b/lib/chessh/ssh/client/client.ex
index 9ec1250..882a90e 100644
--- a/lib/chessh/ssh/client/client.ex
+++ b/lib/chessh/ssh/client/client.ex
@@ -157,6 +157,11 @@ defmodule Chessh.SSH.Client do
<<2>> -> :menu
# Escape
"\e" -> :menu
+ # VIM keys, per request
+ "k" -> :up
+ "j" -> :down
+ "h" -> :left
+ "l" -> :right
# Arrow keys
"\e[A" -> :up
"\e[B" -> :down