-
Notifications
You must be signed in to change notification settings - Fork 0
/
.alacritty.toml
36 lines (30 loc) · 1.75 KB
/
.alacritty.toml
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
import = ["/Users/h/.config/alacritty/themes/tokyonight_storm.toml"]
[font]
size = 17
[font.normal]
family = "JetBrainsMono Nerd Font"
[window]
decorations = "Buttonless"
[window.padding]
x = 0
y = 0
[keyboard]
bindings = [
{ key = "Right", mods = "Alt", chars = "\u001BF" },
{ key = "Left", mods = "Alt", chars = "\u001BB" },
{ key = "B", mods = "Alt", chars = "\u001BB" }, # Alt + B (Move backward one word)
{ key = "F", mods = "Alt", chars = "\u001BF" }, # Alt + F (Move forward one word)
{ key = "D", mods = "Alt", chars = "\u001BD" }, # Alt + D (Delete the word after the cursor)
{ key = "Backspace", mods = "Alt", chars = "\u001B\u007F" }, # Alt + Backspace (Delete word before cursor)
{ key = "U", mods = "Alt", chars = "\u001BU" }, # Alt + U (Uppercase from cursor to end of word)
{ key = "L", mods = "Alt", chars = "\u001BL" }, # Alt + L (Lowercase from cursor to end of word)
{ key = "C", mods = "Alt", chars = "\u001BC" }, # Alt + C (Capitalize the current word)
{ key = ".", mods = "Alt", chars = "\u001B." }, # Alt + . (Insert the last argument of previous command)
{ key = "Y", mods = "Alt", chars = "\u001BY" }, # Alt + Y (Yank the top of the kill-ring)
{ key = "/", mods = "Alt", chars = "\u001B/" }, # Alt + / (Attempt completion)
{ key = "T", mods = "Alt", chars = "\u001BT" }, # Alt + T (Transpose the words around cursor)
{ key = "R", mods = "Alt", chars = "\u001BR" }, # Alt + R (Recall the last command that matches input)
{ key = "N", mods = "Alt", chars = "\u001BN" }, # Alt + N (Search forward through history)
{ key = "P", mods = "Alt", chars = "\u001BP" }, # Alt + P (Search backward through history)
{ key = "Q", mods = "Alt", chars = "\u001BQ" }, # Alt + Q (Not a standard bash shortcut, customizable)
]