aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alacritty.yml2
-rw-r--r--alacritty_macos.yml2
-rw-r--r--src/config.rs6
3 files changed, 10 insertions, 0 deletions
diff --git a/alacritty.yml b/alacritty.yml
index 6290edfa..1b59434f 100644
--- a/alacritty.yml
+++ b/alacritty.yml
@@ -292,6 +292,8 @@ live_config_reload: true
key_bindings:
- { key: V, mods: Control|Shift, action: Paste }
- { key: C, mods: Control|Shift, action: Copy }
+ - { key: Paste, action: Paste }
+ - { key: Copy, action: Copy }
- { key: Q, mods: Command, action: Quit }
- { key: W, mods: Command, action: Quit }
- { key: Insert, mods: Shift, action: PasteSelection }
diff --git a/alacritty_macos.yml b/alacritty_macos.yml
index eff28e3e..19590842 100644
--- a/alacritty_macos.yml
+++ b/alacritty_macos.yml
@@ -267,6 +267,8 @@ live_config_reload: true
key_bindings:
- { key: V, mods: Command, action: Paste }
- { key: C, mods: Command, action: Copy }
+ - { key: Paste, action: Paste }
+ - { key: Copy, action: Copy }
- { key: Q, mods: Command, action: Quit }
- { key: W, mods: Command, action: Quit }
- { key: Home, chars: "\x1bOH", mode: AppCursor }
diff --git a/src/config.rs b/src/config.rs
index a8034139..88a14b22 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -1889,6 +1889,9 @@ enum Key {
WebStop,
Yen,
Caret,
+ Copy,
+ Paste,
+ Cut,
}
impl Key {
@@ -2047,6 +2050,9 @@ impl Key {
Key::WebStop => WebStop,
Key::Yen => Yen,
Key::Caret => Caret,
+ Key::Copy => Copy,
+ Key::Paste => Paste,
+ Key::Cut => Cut,
}
}
}