mirror of
https://github.com/nushell/nushell
synced 2025-01-15 14:44:14 +00:00
151767a5e3
# Description hi hi, this makes the parsing of modifier key combos in config more general, and adds support for additional kitty keyboard protocol modifiers. It seems that support for [kitty keys](https://sw.kovidgoyal.net/kitty/keyboard-protocol) had already been added to nushell in https://github.com/nushell/nushell/pull/10540, and this was the only missing piece to making them available in keybindings. # User-Facing Changes - keybindings in config can include the super, hyper and meta modifiers (e.g. `modifier: super`, `modifier: shift_super`, etc.), and these modifiers will work in supporting terminals (kitty, foot, wezterm, alacritty...) - all permutations of snake_cased modifier combinations now behave equivalently for the purpose of describing keybindings in config (e.g. `control_alt_shift` was previously supported where `shift_control_alt` was a config error — now they're the same) # Tests None of this looks to be tested at the moment. I only found a smoke test under the nu-cli crate, and I couldn't break tests elsewhere by stuffing around with modifier handling. Works on my machine, though! ✨🌈 |
||
---|---|---|
.. | ||
commands | ||
completions | ||
menus | ||
config_files.rs | ||
eval_cmds.rs | ||
eval_file.rs | ||
lib.rs | ||
nu_highlight.rs | ||
print.rs | ||
prompt.rs | ||
prompt_update.rs | ||
reedline_config.rs | ||
repl.rs | ||
syntax_highlight.rs | ||
util.rs | ||
validation.rs |