From 22f5ac8fcec4dbfcc1f5033f18bc4eeca52a747d Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Tue, 31 Oct 2023 08:20:22 +0100 Subject: Made the side more retro! --- public/alacritty-open-links-with-modifier.html | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'public/alacritty-open-links-with-modifier.html') diff --git a/public/alacritty-open-links-with-modifier.html b/public/alacritty-open-links-with-modifier.html index c4f7da7..7255ca9 100755 --- a/public/alacritty-open-links-with-modifier.html +++ b/public/alacritty-open-links-with-modifier.html @@ -1,9 +1,12 @@ -Alacritty open links with modifier

Alacritty open links with modifier

note, Jun 25, 2023 on Mitja Felicijan's blog

Alacritty by default makes all links in the terminal output clickable and this gets annoying rather quickly. I liked the default behavior of Gnome terminal where you needed to hold Control key and then you could click and open links.

To achieve this in Alacritty you need to provide a hint in the configuration file. Config file is located at ~/.config/alacritty/alacritty.yml.

hints:
@@ -17,7 +20,7 @@ file. Config file is located at ~/.config/alacritty/alacritty.yml.<
       mods: Control
 

The following should work under any Linux system. For macOS, you will need to change command: xdg-open to something else.

Now the links will be visible and clickable only when Control key is being -pressed.

Source: https://github.com/alacritty/alacritty/issues/5246


Posts from blogs I follow around the net