aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Jouchet <ronan@jouchet.fr>2017-02-28 15:27:09 -0500
committerJoe Wilm <jwilm@users.noreply.github.com>2017-03-01 15:18:50 -0800
commitf10394e0034ff63f88384fc6196a5d90f093b313 (patch)
tree5f0e76c868bffb2600a63db9a0058833ac879d79
parent53507ce7d0b06f33c1a957ffe4e8eddda0e99fbb (diff)
downloadalacritty-f10394e0034ff63f88384fc6196a5d90f093b313.tar.gz
alacritty-f10394e0034ff63f88384fc6196a5d90f093b313.zip
Fix #447 - yml: mention `showkey -a` to get x sequence from key
Am not touching the -macos yaml, as I'm not sure this works under macOS.
-rw-r--r--alacritty.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/alacritty.yml b/alacritty.yml
index 4ed6b036..8cce9775 100644
--- a/alacritty.yml
+++ b/alacritty.yml
@@ -158,6 +158,10 @@ visual_bell:
# specified string every time that binding is activated. These should generally
# be escape sequences, but they can be configured to send arbitrary strings of
# bytes. Possible values of `action` include `Paste` and `PasteSelection`.
+#
+# Want to add a binding (e.g. "PageUp") but are unsure what the X sequence
+# (e.g. "\x1b[5~") is? Open another terminal (like xterm) without tmux,
+# then run `showkey -a` to get the sequence associated to a key combination.
key_bindings:
- { key: V, mods: Command, action: Paste }
- { key: C, mods: Command, action: Copy }