Skip to content

Commit 91d864e

Browse files
committed
fix: update alacritty bindings
1 parent 73b111b commit 91d864e

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

home/.config/alacritty/alacritty.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -478,14 +478,15 @@ hints:
478478
# - MoveViModeCursor
479479
# Move the vi mode cursor to the beginning of the hint.
480480
enabled:
481-
- regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
481+
- regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
482+
[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
482483
command: open
483484
post_processing: true
484485
mouse:
485486
enabled: true
486487
mods: Shift
487488
binding:
488-
key: U
489+
key: O
489490
mods: Alt
490491

491492
- regex: ".*"
@@ -518,13 +519,19 @@ hints:
518519
# - Right
519520
# - Numeric identifier such as `5`
520521
#
521-
# - `action` (see key bindings)
522+
# - `action` (see key bindings for actions not exclusive to mouse mode)
523+
#
524+
# - Mouse exclusive actions:
525+
#
526+
# - ExpandSelection
527+
# Expand the selection to the current mouse cursor location.
522528
#
523529
# And optionally:
524530
#
525531
# - `mods` (see key bindings)
526532
#mouse_bindings:
527-
# - { mouse: Middle, action: PasteSelection }
533+
# - { mouse: Right, action: ExpandSelection }
534+
# - { mouse: Middle, mode: ~Vi, action: PasteSelection }
528535

529536
# Key bindings
530537
#
@@ -741,11 +748,11 @@ key_bindings:
741748
#- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom }
742749

743750
# Vi Mode
744-
#- { key: Space, mods: Shift|Control, mode: Vi|~Search, action: ScrollToBottom }
745751
#- { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode }
752+
#- { key: Space, mods: Shift|Control, mode: Vi|~Search, action: ScrollToBottom }
746753
#- { key: Escape, mode: Vi|~Search, action: ClearSelection }
747-
#- { key: I, mode: Vi|~Search, action: ScrollToBottom }
748754
#- { key: I, mode: Vi|~Search, action: ToggleViMode }
755+
#- { key: I, mode: Vi|~Search, action: ScrollToBottom }
749756
#- { key: C, mods: Control, mode: Vi|~Search, action: ToggleViMode }
750757
#- { key: Y, mods: Control, mode: Vi|~Search, action: ScrollLineUp }
751758
#- { key: E, mods: Control, mode: Vi|~Search, action: ScrollLineDown }

0 commit comments

Comments
 (0)