Difference between c and C when keymapping using SHIFT control modifier #5921
-
What Operating System(s) are you running on?Linux X11 Which Wayland compositor or X11 Window manager(s) are you using?gnome WezTerm versionwezterm 20240730-082727-56a27e93 Ask your question!What is the difference between mapping:
and
in the wezterm config? Since for this keystroke I need to press shift in any case which would make my 'C' uppercase, so how could I ever make use of the lowercase 'c' keybinding? Does it have any effect? I'm confused because when reading wezterms default key assignements, there is an entry for CTRL + SHIFT + t (lowercase) and one for SUPER+SHIFT+T (uppercase). I would have thought that it's all the same, but apparently not. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Someone else may know more definitively, but I don't think there is a difference. Cf. the comment at wezterm/wezterm-gui/src/inputmap.rs Line 52 in 2d0c5cd // If the user configures {key='p', mods='CTRL|SHIFT'} that gets
// normalized into {key='P', mods='CTRL'} in Config::key_bindings(),
// and that value exists in `keys.default` when we reach this point. |
Beta Was this translation helpful? Give feedback.
Someone else may know more definitively, but I don't think there is a difference.
Cf. the comment at
wezterm/wezterm-gui/src/inputmap.rs
Line 52 in 2d0c5cd