diff options
| author | Tim Allen <screwtape@froup.com> | 2018-03-15 23:02:27 +1100 |
|---|---|---|
| committer | Tim Allen <screwtape@froup.com> | 2018-04-11 15:15:45 +1000 |
| commit | 50e422659bb1533da2d5f04bbd17de062dcad84b (patch) | |
| tree | 2c3c7fba8ec46a5491c0e27c6ea311952e2c0460 /src/main.cc | |
| parent | d846400279a1831d3d29a4dd179fbf799b4ee541 (diff) | |
Add support for the shift modifier.
Because keyboard layouts vary, the shift-modifier `<s-…>` is only supported
for special keys (like `<up>` and `<home>`) and for ASCII lowercase where
we assume the shift-modifier just produces the matching uppercase character.
Even that's not universally true, since in Turkish `i` and `I` are not an
uppercase/lowercase pair, but Kakoune's default keyboard mappings already
assume en-US mappings for mnemonic purposes.
Mappings of the form `<s-x>` are normalized to `<X>` when `x` is an ASCII
character. `<backtab>` is removed, since we can now say `<s-tab>`.
Diffstat (limited to 'src/main.cc')
| -rw-r--r-- | src/main.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc index 53986525..e152fa94 100644 --- a/src/main.cc +++ b/src/main.cc @@ -53,7 +53,8 @@ static const char* startup_info = " * 'x' will only jump to next line if full line is already selected\n" " * WORD text object moved to <a-w> instead of W for consistency\n" " * rotate main selection moved to ), rotate content to <a-)>, ( for backward\n" -" * faces are now scoped, set-face command takes an additional scope parameter\n"; +" * faces are now scoped, set-face command takes an additional scope parameter\n" +" * <backtab> key is gone, use <s-tab> instead\n"; struct startup_error : runtime_error { |
