aboutsummaryrefslogtreecommitdiff
path: root/alacritty/build.rs
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2020-06-15 03:12:39 +0300
committerGitHub <noreply@github.com>2020-06-15 03:12:39 +0300
commitb15b476371481202504c509a742ca7b453aec8ba (patch)
tree978a6fa975349c58c0c868f70cd366f5419cb5b0 /alacritty/build.rs
parent00870b2c5cf58d5f713b91257578891f28b48a3e (diff)
downloadr-alacritty-b15b476371481202504c509a742ca7b453aec8ba.tar.gz
r-alacritty-b15b476371481202504c509a742ca7b453aec8ba.tar.bz2
r-alacritty-b15b476371481202504c509a742ca7b453aec8ba.zip
Rework default config binding replacement
This reworks the criteria necessary for default bindings to be overwritten by custom user bindings. It should provide a better heuristic which accounts for the possibility that notmodes are added which prevent a conflict between the bindings, so the default isn't unnecessarily removed. It is still possible to define a new binding that intersects a default binding without the default getting removed, if the user explicitly specifies a mode that doesn't include the default binding's mode. This is based on the assumption that users explicitly specifying a new mode are trying to make a mode-specific addition and are capable of removing the default when desired. This helps with old modes still being present in user's config files, since a lot of new config options just have the additional ~Vi mode set. Fixes #3476.
Diffstat (limited to 'alacritty/build.rs')
0 files changed, 0 insertions, 0 deletions