mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 15:04:36 +03:00
Remove ALT-number default key assignments
The issue is that we work hard to match the keys pre-composition, but for French and Norwegian layouts ALT-number are valid, useful punctuation keys. It's awkward to make exceptions for ALT keys when matching assignments, especially on macOS, and the simplest thing to do is simply to remove the assignments and leave it to our users to add their own if they want them. The ctrl-shift and cmd based assignments are generally much easier to keep, because those key combinations are not widely used default mappings on any keyboard layout. refs: #1543 refs: #1542 refs: https://github.com/wez/wezterm/pull/1132
This commit is contained in:
parent
12de21df95
commit
a9427aca63
@ -571,56 +571,6 @@ impl InputMap {
|
||||
KeyCode::Physical(PhysKeyCode::PageDown),
|
||||
ScrollByPage(NotNan::new(1.0).unwrap())
|
||||
],
|
||||
// Alt-<number> matches on the post-mapped version of the key,
|
||||
// rather than the physical position, as ALT-<number> is widely
|
||||
// meaningful in non-US layouts as important punctuation and
|
||||
// we don't want to get in the way of it.
|
||||
// <https://github.com/wez/wezterm/issues/1542>
|
||||
[
|
||||
Modifiers::ALT,
|
||||
KeyCode::Char('1'),
|
||||
ActivateTab(0)
|
||||
],
|
||||
[
|
||||
Modifiers::ALT,
|
||||
KeyCode::Char('2'),
|
||||
ActivateTab(1)
|
||||
],
|
||||
[
|
||||
Modifiers::ALT,
|
||||
KeyCode::Char('3'),
|
||||
ActivateTab(2)
|
||||
],
|
||||
[
|
||||
Modifiers::ALT,
|
||||
KeyCode::Char('4'),
|
||||
ActivateTab(3)
|
||||
],
|
||||
[
|
||||
Modifiers::ALT,
|
||||
KeyCode::Char('5'),
|
||||
ActivateTab(4)
|
||||
],
|
||||
[
|
||||
Modifiers::ALT,
|
||||
KeyCode::Char('6'),
|
||||
ActivateTab(5)
|
||||
],
|
||||
[
|
||||
Modifiers::ALT,
|
||||
KeyCode::Char('7'),
|
||||
ActivateTab(6)
|
||||
],
|
||||
[
|
||||
Modifiers::ALT,
|
||||
KeyCode::Char('8'),
|
||||
ActivateTab(7)
|
||||
],
|
||||
[
|
||||
Modifiers::ALT,
|
||||
KeyCode::Char('9'),
|
||||
ShowTabNavigator
|
||||
],
|
||||
[
|
||||
ctrl_shift,
|
||||
KeyCode::Physical(PhysKeyCode::X),
|
||||
|
@ -24,6 +24,7 @@ As features stabilize some brief notes about them will accumulate here.
|
||||
|
||||
* **Key Assignments now use Physical Key locations by default!!** follow the work in progress in [#1483](https://github.com/wez/wezterm/issues/1483) [#601](https://github.com/wez/wezterm/issues/601) [#1080](https://github.com/wez/wezterm/issues/1080) [#1391](https://github.com/wez/wezterm/issues/1391)
|
||||
* Key assignments now match prior to any dead-key or IME composition [#877](https://github.com/wez/wezterm/issues/877)
|
||||
* Removed the `ALT-[NUMBER]` default key assignments as they are not good for non-US layouts. [#1542](https://github.com/wez/wezterm/issues/1542)
|
||||
* `wezterm cli`, when run outside of a wezterm pane, now prefers to connect to the main GUI instance rather than background mux server. Use `wezterm cli --prefer-mux` to ignore the GUI instance and talk only to the mux server. See `wezterm cli --help` for additional information.
|
||||
* [ScrollByPage](config/lua/keyassignment/ScrollByPage.md) now accepts fractional numbers like `0.5` to scroll by half a page at time. Thanks to [@hahuang65](https://github.com/hahuang65)! [#1534](https://github.com/wez/wezterm/pull/1534)
|
||||
* [use_ime](config/lua/config/use_ime.md) now defaults to `true` on all platforms; previously it was not enabled by default on macOS.
|
||||
|
Loading…
Reference in New Issue
Block a user