Skip to content

Instantly share code, notes, and snippets.

@ipatch
Created September 21, 2018 19:30
Show Gist options
  • Save ipatch/7b904877367e015c1a77a741d97bc6d2 to your computer and use it in GitHub Desktop.
Save ipatch/7b904877367e015c1a77a741d97bc6d2 to your computer and use it in GitHub Desktop.
alacritty key bindings
key_bindings:
- { key: V, mods: Command, action: Paste }
- { key: C, mods: Command, action: Copy }
- { key: Q, mods: Command, action: Quit }
- { key: W, mods: Command, action: Quit }
- { 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: Key0, mods: Command, action: ResetFontSize }
- { key: Equals, mods: Command, action: IncreaseFontSize }
- { key: Minus, mods: Command, action: DecreaseFontSize }
- { 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~" }
# How do I set a key binding for Alacritty to interpret `alt+l` on macOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment