1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00

Change ctrl+shift+u to ctrl+shift+o

Avoid collisions with IMEs by using ctrl+shift+o. ctrl+shift+u is bound
to open unicode input in a lot of IMEs by default meaning that users
won't ever see the url hints UI.
This commit is contained in:
Kirill Chibisov 2024-10-10 21:01:44 +03:00 committed by GitHub
parent a1ed79bd2c
commit c032c89f1c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 2 deletions

View file

@ -27,6 +27,7 @@ Notable changes to the `alacritty_terminal` crate are documented in its
- Moved config options `import`, `working_directory`, `live_config_reload`, and `ipc_socket`
to the new `general` section
- Moved config option `shell` to `terminal.shell`
- `ctrl+shift+u` binding to open links to `ctrl+shift+o` to avoid collisions with IMEs
### Fixed

View file

@ -282,7 +282,7 @@ impl Default for Hints {
mouse: Some(HintMouse { enabled: true, mods: Default::default() }),
binding: Some(HintBinding {
key: BindingKey::Keycode {
key: Key::Character("u".into()),
key: Key::Character("o".into()),
location: KeyLocation::Standard,
},
mods: ModsWrapper(ModifiersState::SHIFT | ModifiersState::CONTROL),

View file

@ -730,7 +730,7 @@ hyperlinks = _true_++
post_processing = _true_++
persist = _false_++
mouse.enabled = _true_++
binding = { key = _"U"_, mods = _"Control|Shift"_ }++
binding = { key = _"O"_, mods = _"Control|Shift"_ }++
regex = _"(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\\u0000-\\u001F\\u007F-\\u009F<>\\"\\\\s{-}\\\\^⟨⟩`]+"_
# KEYBOARD