Alacritty: Code formatting
This commit is contained in:
parent
560498c87b
commit
6ab5f4e594
@ -73,7 +73,6 @@ shell:
|
|||||||
# using Mac's 'command' to control your tmux.
|
# using Mac's 'command' to control your tmux.
|
||||||
# A great reference: https://arslan.io/2018/02/05/gpu-accelerated-terminal-alacritty/#make-alacritty-feel-like-iterm2
|
# A great reference: https://arslan.io/2018/02/05/gpu-accelerated-terminal-alacritty/#make-alacritty-feel-like-iterm2
|
||||||
key_bindings:
|
key_bindings:
|
||||||
|
|
||||||
# Alacritty
|
# Alacritty
|
||||||
- { key: N, mods: Command, action: SpawnNewInstance } # Spawn new instance
|
- { key: N, mods: Command, action: SpawnNewInstance } # Spawn new instance
|
||||||
- { key: Key0, mods: Command, action: ResetFontSize } # Reset font size
|
- { key: Key0, mods: Command, action: ResetFontSize } # Reset font size
|
||||||
@ -100,9 +99,12 @@ key_bindings:
|
|||||||
- { key: S, mods: Command|Shift, chars: "\x02\x2d" } # Split pane horizontally in nested session
|
- { key: S, mods: Command|Shift, chars: "\x02\x2d" } # Split pane horizontally in nested session
|
||||||
- { key: Z, mods: Command|Shift, chars: "\x02\x7a" } # Maximize pane in nested session
|
- { key: Z, mods: Command|Shift, chars: "\x02\x7a" } # Maximize pane in nested session
|
||||||
|
|
||||||
## General key bindings
|
## General key bindings
|
||||||
- { key: Comma, mods: Command, command:
|
- {
|
||||||
{program: "sh", args: ["-c","open ~/.config/alacritty/"]} } # Open alacritty config directory
|
key: Comma,
|
||||||
|
mods: Command,
|
||||||
|
command: { program: "sh", args: ["-c", "open ~/.config/alacritty/"] },
|
||||||
|
} # Open alacritty config directory
|
||||||
- { key: Back, mods: Command, chars: "\x15" } # delete word/line
|
- { key: Back, mods: Command, chars: "\x15" } # delete word/line
|
||||||
- { key: Left, mods: Alt, chars: "\x1bb" } # One word left
|
- { key: Left, mods: Alt, chars: "\x1bb" } # One word left
|
||||||
- { key: Right, mods: Alt, chars: "\x1bf" } # One word right
|
- { key: Right, mods: Alt, chars: "\x1bf" } # One word right
|
||||||
|
Loading…
Reference in New Issue
Block a user