-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathalacritty.yml
133 lines (106 loc) · 4.14 KB
/
alacritty.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# alt_send_esc: false
live_config_reload: true
shell:
program: /opt/homebrew/bin/tmux
args:
- new-session
- -A
- -D
- -s
- main
working_directory: dotfiles
window:
dimensions:
columns: 0
lines: 0
padding:
x: 4
y: 4
dynamic_padding: true
decorations: buttonless
startup_mode: Maximized
title: Alacritty
dynamic_title: true
scrolling:
history: 100000
multiplier: 3
font:
normal:
family: BlexMono Nerd Font
style: Book
bold:
family: BlexMono Nerd Font
style: Bold
italic:
family: BlexMono Nerd Font
style: Italic
size: 12
draw_bold_text_with_bright_colors: true
colors:
primary:
background: "#303030" # base
foreground: "#c7c7c7" # text
# Key Bindings
# To figure out chars, `xxd -psd`
# Enter char seq, <return>
# Ignore 0a, that is <return>
key_bindings:
# High-level control
- { key: I, mods: Command, chars: "\x00\x5b" } # Copy mode
- { key: Semicolon, mods: Command|Shift, chars: "\x00\x3a" } # Run command
- { key: R, mods: Command|Shift, chars: "\x00\x52" } # Reload tmux config
- { key: L, mods: Command|Control, chars: "\x00\x43" } # Full-clear screen
# MacOS native-like
- { key: V, mods: Command, action: Paste }
- { key: C, mods: Command, action: Copy }
# Readline fixes
- { key: F, mods: Alt, chars: "\x1bf" }
- { key: B, mods: Alt, chars: "\x1bb" }
- { key: D, mods: Alt, chars: "\x1bd" }
# Sessions
- { key: Slash, mods: Command, chars: "\x00\x73" } # Switch sessions
- { key: Equals, mods: Command|Shift, chars: "\x00\x6e" } # New session
# Windows
- { key: C, mods: Command|Shift, chars: "\x00\x63" } # Create window
- { key: X, mods: Command|Shift, chars: "\x00\x57" } # Kill current window
- { key: Comma, mods: Command, chars: "\x00\x2c" } # Rename window
- { key: LBracket, mods: Command|Shift, chars: "\x00\x70" } # Previous window
- { key: RBracket, mods: Command|Shift, chars: "\x00\x6e" } # Next window
- { key: Key6, mods: Command, chars: "\x00\x3b" } # Last window
# Pane navigations
- { key: H, mods: Command, chars: "\x00\x68" } # Pane left
- { key: J, mods: Command, chars: "\x00\x6a" } # Pane down
- { key: K, mods: Command, chars: "\x00\x6b" } # Pane up
- { key: L, mods: Command, chars: "\x00\x6c" } # Pane right
- { key: A, mods: Command, chars: "\x00\x31" } # Jump to window 1
- { key: S, mods: Command, chars: "\x00\x32" } # Jump to window 2
- { key: D, mods: Command, chars: "\x00\x33" } # Jump to window 3
- { key: F, mods: Command, chars: "\x00\x34" } # Jump to window 4
- { key: Q, mods: Command, chars: "\x00\x35" } # Jump to window 5
- { key: W, mods: Command, chars: "\x00\x36" } # Jump to window 6
- { key: E, mods: Command, chars: "\x00\x37" } # Jump to window 7
- { key: R, mods: Command, chars: "\x00\x38" } # Jump to window 8
# Pane resizing
- { key: H, mods: Command|Shift, chars: "\x00\x48" } # Resize up
- { key: J, mods: Command|Shift, chars: "\x00\x4a" } # Resize down
- { key: K, mods: Command|Shift, chars: "\x00\x4b" } # Resize up
- { key: L, mods: Command|Shift, chars: "\x00\x4c" } # Resize right
# Pane splitting
- { key: Minus, mods: Command|Shift, chars: "\x00\x22" } # Split horizontal
- { key: Backslash, mods: Command|Shift, chars: "\x00\x25" } # Split vertical
- { key: Left, mods: Command, chars: "\x00\x1b\x5b\x44" } # Move window left
- { key: Right, mods: Command, chars: "\x00\x1b\x5b\x43" } # Move window right
# Pane moving
- { key: LBracket, mods: Command, chars: "\x00\x7b" } # Move window left
- { key: RBracket, mods: Command, chars: "\x00\x7d" } # Move window right
# Misc pane manipulation
- { key: Z, mods: Command, chars: "\x00\x7a" } # Zoom pane
- { key: S, mods: Command|Shift, chars: "\x00\x61" } # Sync panes
# Session Navigation
- { key: Left, mods: Command|Option, chars: "\x00\x28" }
- { key: Right, mods: Command|Option, chars: "\x00\x29" }
# Restore ctrl-6 behaviour
# https://github.com/alacritty/alacritty/issues/1108#issuecomment-365354347
- { key: Key6, mods: Control, chars: "\x1e" }
# - { key: C, mods: Command, chars: "236965783a627265616b"}
- { key: C, mods: Command, chars: "\x23iex:break\x0a" }