Skip to content

Commit

Permalink
Enable macOS specific bindings for jumping
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackjacx committed Sep 11, 2024
1 parent c6bf941 commit 53526b3
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions bootstrap/config_dirs/alacritty/alacritty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dynamic_padding = true
decorations = "Buttonless"
# decorations = "Transparent"

opacity = 0.9
opacity = 1.0
blur = false

# Same as Fullscreen, but you can stack windows on top.
Expand All @@ -39,11 +39,22 @@ size = 14
[mouse]
# hide_when_typing = true

# [[hints.enabled]]
# mouse = { enabled = true, mods = "None" }
# command = "open" # On macOS
# hyperlinks = true
# post_processing = true
# persist = false
# binding = { key = "U", mods = "Control|Shift" }
# regex = "(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
[[hints.enabled]]
mouse = { enabled = true, mods = "Shift" }
command = "open"
hyperlinks = true
persist = false
regex = "(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
post_processing = true
binding = { key = "U", mods = "Control|Shift" }

[keyboard]
# https://github.com/alacritty/alacritty/issues/474
bindings = [
{ key = "Left", mods = "Alt", chars = "\u001bB" },
{ key = "Right", mods = "Alt", chars = "\u001bF" },
{ key = "Left", mods = "Command", chars = "\u001bOH" },
{ key = "Right", mods = "Command", chars = "\u001bOF" },
{ key = "Back", mods = "Command", chars = "\u0015" },
{ key = "NumpadEnter", chars = "\r" },
]

0 comments on commit 53526b3

Please sign in to comment.