aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2024-01-28 00:52:20 +0100
committerRobin Jarry <robin@jarry.cc>2024-02-11 21:20:23 +0100
commit28ee8e65a45d38f10938571fddea4b137a1de115 (patch)
tree11e393d4eb3da83f91da5b35f1004c971dd255d0 /app
parent2dcc83efda3efd61dffc75324e434ef32d322b8f (diff)
downloadaerc-28ee8e65a45d38f10938571fddea4b137a1de115.tar.gz
binds: parse annotations from keybind config
Parse inline comments in binds.conf as annotations to the corresponding keybinds. Note that a space is required before the comment symbol, so the comment delimiter is " # ". Example: p = :postpone<Enter> # I'll work on it later where "I'll work on it later" is the annotation. When a comment symbol ("#") is needed in the value part of the keybind, it should be escaped ("\#"). Comment symbols can be used without restriction in the annotation itself. Signed-off-by: Koni Marti <koni.marti@gmail.com> Tested-by: Bence Ferdinandy <bence@ferdinandy.com> Reviewed-by: Bence Ferdinandy <bence@ferdinandy.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'app')
0 files changed, 0 insertions, 0 deletions