.vvconfig/.config/alacritty/keybinding.toml

47 lines
817 B
TOML

# Key bindings
# A list with all available `key` names can be found here:
# https://docs.rs/glutin/*/glutin/enum.VirtualKeyCode.html#variants
#
# Run "xxd -psd" to find hex codes of keys.
#
# Alacritty + Tmux key integratio
# `\x1c` is `C-\` as tmux prefix
# `\x1b` is `Esc`
[[keyboard.bindings]]
action = "SpawnNewInstance"
key = "N"
mods = "Command"
[[keyboard.bindings]]
chars = "\u001Bb"
key = "Left"
mods = "Alt"
[[keyboard.bindings]]
chars = "\u001Bf"
key = "Right"
mods = "Alt"
[[keyboard.bindings]]
chars = "\u001BOH"
key = "Left"
mode = "AppCursor"
mods = "Command"
[[keyboard.bindings]]
chars = "\u001BOF"
key = "Right"
mode = "AppCursor"
mods = "Command"
[[keyboard.bindings]]
chars = "\u0015"
key = "Back"
mods = "Command"
[[keyboard.bindings]]
chars = "\u001B\u007F"
key = "Back"
mods = "Alt"