diff options
| author | Frank LENORMAND <lenormf@gmail.com> | 2019-10-22 11:02:06 +0200 |
|---|---|---|
| committer | Frank LENORMAND <lenormf@gmail.com> | 2019-10-22 11:02:06 +0200 |
| commit | 21614cb06ea4f7a7349c628e5b8a754f730b2f0d (patch) | |
| tree | a5a65ba0f4489808cf312a2db9e0d5699874ff40 /src/keys.cc | |
| parent | 3c34de7fe7db607fe2c0519471b8d3c4935ce717 (diff) | |
src: Create a <semicolon> named key
This commit allows using the <semicolon> expansion in commands, instead
of `\;`.
It makes commands look more elegant, and prevents new-comers from
falling into the trap of using <a-;> without escaping the semicolon.
Diffstat (limited to 'src/keys.cc')
| -rw-r--r-- | src/keys.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/keys.cc b/src/keys.cc index a424bb42..6343bd19 100644 --- a/src/keys.cc +++ b/src/keys.cc @@ -78,6 +78,7 @@ static constexpr KeyAndName keynamemap[] = { { "del", Key::Delete }, { "plus", '+' }, { "minus", '-' }, + { "semicolon", ';' }, }; KeyList parse_keys(StringView str) |
