aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2024-10-10 21:01:44 +0300
committerGitHub <noreply@github.com>2024-10-10 21:01:44 +0300
commitc032c89f1c457c3cf97dcda3f8367115fa5f66ea (patch)
tree6e075ece45b72f3cb6fba393bde2488e6d89f95a
parenta1ed79bd2c014be49a85e2100ce374b86c8839e8 (diff)
downloadalacritty-c032c89f1c457c3cf97dcda3f8367115fa5f66ea.tar.gz
alacritty-c032c89f1c457c3cf97dcda3f8367115fa5f66ea.zip
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.
-rw-r--r--CHANGELOG.md1
-rw-r--r--alacritty/src/config/ui_config.rs2
-rw-r--r--extra/man/alacritty.5.scd2
3 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2026893c..ae486fa5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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
diff --git a/alacritty/src/config/ui_config.rs b/alacritty/src/config/ui_config.rs
index a6155b8a..69716dee 100644
--- a/alacritty/src/config/ui_config.rs
+++ b/alacritty/src/config/ui_config.rs
@@ -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),
diff --git a/extra/man/alacritty.5.scd b/extra/man/alacritty.5.scd
index 1c0aa1d1..8e92734a 100644
--- a/extra/man/alacritty.5.scd
+++ b/extra/man/alacritty.5.scd
@@ -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