Skip to content

Commit 6780ca1

Browse files
committed
refactor: update alacritty config
1 parent d0426d9 commit 6780ca1

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

linux/alacritty /alacritty.toml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
[env]
2-
TERM = "xterm-256color"
3-
41
[window]
52
dimensions.columns = 120
63
dimensions.lines = 50
@@ -25,9 +22,14 @@ primary.foreground = "0xD4D4D4"
2522

2623
[keyboard]
2724
bindings = [
28-
{ key = "Left", mods = "Alt", chars = "\u001bB" },
29-
{ key = "Right", mods = "Alt", chars = "\u001bF" },
30-
{ key = "Left", mods = "Command", chars = "\u001bOH" },
31-
{ key = "Right", mods = "Command", chars = "\u001bOF" },
32-
{ key = "Back", mods = "Command", chars = "\u0015" },
25+
### copy and paste
26+
{ key = "\u314A", mods = "Command", action = "Copy" },
27+
{ key = "\u314D", mods = "Command", action = "Paste" },
28+
### move cursor
29+
{ key = "Left", mods = "Alt", chars = "\u001bB" },
30+
{ key = "Right", mods = "Alt", chars = "\u001bF" },
31+
{ key = "Left", mods = "Command", chars = "\u001bOH" },
32+
{ key = "Right", mods = "Command", chars = "\u001bOF" },
33+
### delete
34+
{ key = "Back", mods = "Command", chars = "\u0015" },
3335
]

0 commit comments

Comments
 (0)