mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-25 14:05:41 -05:00
Expand key binding config documentation
A link to all variants available as `key` has been added to the key bindings documentation, to help users with finding the right place for mapping key codes.
This commit is contained in:
parent
632ef0df7f
commit
f6839a8794
2 changed files with 7 additions and 1 deletions
|
@ -238,12 +238,12 @@ live_config_reload: true
|
||||||
#
|
#
|
||||||
# You can set shell.program to the path of your favorite shell, e.g. /bin/fish.
|
# You can set shell.program to the path of your favorite shell, e.g. /bin/fish.
|
||||||
# Entries in shell.args are passed unmodified as arguments to the shell.
|
# Entries in shell.args are passed unmodified as arguments to the shell.
|
||||||
|
#
|
||||||
# shell:
|
# shell:
|
||||||
# program: /bin/bash
|
# program: /bin/bash
|
||||||
# args:
|
# args:
|
||||||
# - --login
|
# - --login
|
||||||
|
|
||||||
|
|
||||||
# Key bindings
|
# Key bindings
|
||||||
#
|
#
|
||||||
# Each binding is defined as an object with some properties. Most of the
|
# Each binding is defined as an object with some properties. Most of the
|
||||||
|
@ -253,6 +253,9 @@ live_config_reload: true
|
||||||
# `Key1`, `Key2`, etc. Keys on the number pad are encoded `Number1`, `Number2`,
|
# `Key1`, `Key2`, etc. Keys on the number pad are encoded `Number1`, `Number2`,
|
||||||
# etc. These all match the glutin::VirtualKeyCode variants.
|
# etc. These all match the glutin::VirtualKeyCode variants.
|
||||||
#
|
#
|
||||||
|
# A list with all available `key` names can be found here:
|
||||||
|
# https://docs.rs/glutin/*/glutin/enum.VirtualKeyCode.html#variants
|
||||||
|
#
|
||||||
# Possible values for `mods`
|
# Possible values for `mods`
|
||||||
# `Command`, `Super` refer to the super/command/windows key
|
# `Command`, `Super` refer to the super/command/windows key
|
||||||
# `Control` for the control key
|
# `Control` for the control key
|
||||||
|
|
|
@ -234,6 +234,9 @@ live_config_reload: true
|
||||||
# `Key1`, `Key2`, etc. Keys on the number pad are encoded `Number1`, `Number2`,
|
# `Key1`, `Key2`, etc. Keys on the number pad are encoded `Number1`, `Number2`,
|
||||||
# etc. These all match the glutin::VirtualKeyCode variants.
|
# etc. These all match the glutin::VirtualKeyCode variants.
|
||||||
#
|
#
|
||||||
|
# A list with all available `key` names can be found here:
|
||||||
|
# https://docs.rs/glutin/*/glutin/enum.VirtualKeyCode.html#variants
|
||||||
|
#
|
||||||
# Possible values for `mods`
|
# Possible values for `mods`
|
||||||
# `Command`, `Super` refer to the super/command/windows key
|
# `Command`, `Super` refer to the super/command/windows key
|
||||||
# `Control` for the control key
|
# `Control` for the control key
|
||||||
|
|
Loading…
Reference in a new issue