dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit 00d6572208fb7f934b69354668ab3a10a97d3188
parent 6aae6f1a683e0013fe80a5e0e1d7276643d80c89
Author: Chris Bracken <chris@bracken.jp>
Date:   Wed, 26 May 2021 23:58:16 -0700

Require shift-click to launch URLs in Alacritty

By default, Alacritty launches any URL you click on. This can get
annoying after too many stray clicks. Require shift-click instead.

URLs can also be launched via Control-Shift-U.

Diffstat:
M.config/alacritty/alacritty.yml | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml @@ -11,3 +11,15 @@ font: selection: save_to_clipboard: true + +hints: + enabled: + - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" + command: xdg-open + post_processing: true + mouse: + enabled: true + mods: Shift + binding: + key: U + mods: Control|Shift