Created
September 29, 2021 23:38
-
-
Save MindPatch/8d821119c36b8df99b98fc044e5a8339 to your computer and use it in GitHub Desktop.
my alacritty terminal config file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
key_bindings: | |
- { key: V, mods: Command, action: Paste } | |
- { key: C, mods: Command, action: Copy } | |
- { key: Q, mods: Command, action: Quit } | |
- { key: N, mods: Command, action: SpawnNewInstance } | |
- { key: Return, mods: Command, action: ToggleFullscreen } | |
- { key: Home, chars: "\x1bOH", mode: AppCursor } | |
- { key: Home, chars: "\x1b[H", mode: ~AppCursor } | |
- { key: End, chars: "\x1bOF", mode: AppCursor } | |
- { key: End, chars: "\x1b[F", mode: ~AppCursor } | |
- { key: Equals, mods: Command, action: IncreaseFontSize } | |
- { key: Minus, mods: Command, action: DecreaseFontSize } | |
- { key: Minus, mods: Command|Shift, action: ResetFontSize } | |
- { key: PageUp, mods: Shift, chars: "\x1b[5;2~" } | |
- { key: PageUp, mods: Control, chars: "\x1b[5;5~" } | |
- { key: PageUp, chars: "\x1b[5~" } | |
- { key: PageDown, mods: Shift, chars: "\x1b[6;2~" } | |
- { key: PageDown, mods: Control, chars: "\x1b[6;5~" } | |
- { key: PageDown, chars: "\x1b[6~" } | |
- { key: Left, mods: Shift, chars: "\x1b[1;2D" } | |
- { key: Left, mods: Control, chars: "\x1b[1;5D" } | |
- { key: Left, mods: Alt, chars: "\x1b[1;3D" } | |
- { key: Left, chars: "\x1b[D", mode: ~AppCursor } | |
- { key: Left, chars: "\x1bOD", mode: AppCursor } | |
- { key: Right, mods: Shift, chars: "\x1b[1;2C" } | |
- { key: Right, mods: Control, chars: "\x1b[1;5C" } | |
- { key: Right, mods: Alt, chars: "\x1b[1;3C" } | |
- { key: Right, chars: "\x1b[C", mode: ~AppCursor } | |
- { key: Right, chars: "\x1bOC", mode: AppCursor } | |
- { key: Up, mods: Shift, chars: "\x1b[1;2A" } | |
- { key: Up, mods: Control, chars: "\x1b[1;5A" } | |
- { key: Up, mods: Alt, chars: "\x1b[1;3A" } | |
- { key: Up, chars: "\x1b[A", mode: ~AppCursor } | |
- { key: Up, chars: "\x1bOA", mode: AppCursor } | |
- { key: Down, mods: Shift, chars: "\x1b[1;2B" } | |
- { key: Down, mods: Control, chars: "\x1b[1;5B" } | |
- { key: Down, mods: Alt, chars: "\x1b[1;3B" } | |
- { key: Down, chars: "\x1b[B", mode: ~AppCursor } | |
- { key: Down, chars: "\x1bOB", mode: AppCursor } | |
- { key: Tab, mods: Shift, chars: "\x1b[Z" } | |
- { key: F1, chars: "\x1bOP" } | |
- { key: F2, chars: "\x1bOQ" } | |
- { key: F3, chars: "\x1bOR" } | |
- { key: F4, chars: "\x1bOS" } | |
- { key: F5, chars: "\x1b[15~" } | |
- { key: F6, chars: "\x1b[17~" } | |
- { key: F7, chars: "\x1b[18~" } | |
- { key: F8, chars: "\x1b[19~" } | |
- { key: F9, chars: "\x1b[20~" } | |
- { key: F10, chars: "\x1b[21~" } | |
- { key: F11, chars: "\x1b[23~" } | |
- { key: F12, chars: "\x1b[24~" } | |
- { key: Back, chars: "\x7f" } | |
- { key: Back, mods: Alt, chars: "\x1b\x7f" } | |
- { key: Insert, chars: "\x1b[2~" } | |
- { key: Delete, chars: "\x1b[3~" } | |
# shortcuts for tmux. the leader key is control-b (0x02) | |
- { key: W, mods: Command, chars: "\x02&" } # close tab (kill) | |
- { key: T, mods: Command, chars: "\x02c" } # new tab | |
- { key: RBracket, mods: Command|Shift, chars: "\x02n" } # select next tab | |
- { key: LBracket, mods: Command|Shift, chars: "\x02p" } # select previous tab | |
- { key: RBracket, mods: Command, chars: "\x02o" } # select next pane | |
- { key: LBracket, mods: Command, chars: "\x02;" } # select last (previously used) pane | |
- { key: F, mods: Command, chars: "\x02/" } # search (upwards) (see tmux.conf) | |
env: | |
TERM: xterm-256color | |
mouse: | |
# Click settings | |
# | |
# The `double_click` and `triple_click` settings control the time | |
# alacritty should wait for accepting multiple clicks as one double | |
# or triple click. | |
double_click: { threshold: 300 } | |
triple_click: { threshold: 300 } | |
# If this is `true`, the cursor is temporarily hidden when typing. | |
hide_when_typing: true | |
hints: | |
enabled: | |
- regex: "(mailto:|https:|http:|news:|file:|git:|ssh:|ftp:)\ | |
[^\u0000-\u001F\u007F-\u009F<>\" {-}\\^⟨⟩`]+" | |
command: xdg-open | |
post_processing: true | |
mouse: | |
enabled: true | |
mods: Control | |
selection: | |
semantic_escape_chars: ",│`|:\"' ()[]{}<>" | |
save_to_clipboard: false | |
cursor: | |
# Cursor style | |
# | |
# Values for 'style': | |
# - ▇ Block | |
# - _ Underline | |
# - | Beam | |
style: Block | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment