diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2020-03-24 02:46:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-23 23:46:33 +0000 |
commit | c9c5fbbe2bd522c55af041e84d6a222c059555b1 (patch) | |
tree | 0bff3e8a9a38dc97b9bc3a64215a19ac83f50835 /alacritty.yml | |
parent | a2875454b1c6b856ccb7f61e737ea1e090b0e054 (diff) | |
download | alacritty-c9c5fbbe2bd522c55af041e84d6a222c059555b1.tar.gz alacritty-c9c5fbbe2bd522c55af041e84d6a222c059555b1.zip |
Add CopyPrimary keybinding action on Linux/BSD
Diffstat (limited to 'alacritty.yml')
-rw-r--r-- | alacritty.yml | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/alacritty.yml b/alacritty.yml index eb4b4a43..f0e12747 100644 --- a/alacritty.yml +++ b/alacritty.yml @@ -504,6 +504,9 @@ # (macOS only): # - ToggleSimpleFullscreen: Enters fullscreen without occupying another space # +# (Linux/BSD only): +# - CopySelection: Copies into selection buffer +# # - `command`: Fork and execute a specified command plus arguments # # The `command` field must be a map containing a `program` string and an @@ -569,6 +572,8 @@ #- { key: U, mods: Control, mode: Vi, action: ScrollHalfPageUp } #- { key: D, mods: Control, mode: Vi, action: ScrollHalfPageDown } #- { key: Y, mode: Vi, action: Copy } + #- { key: Y, mode: Vi, action: ClearSelection } + #- { key: Copy, mode: Vi, action: ClearSelection } #- { key: V, mode: Vi, action: ToggleNormalSelection } #- { key: V, mods: Shift, mode: Vi, action: ToggleLineSelection } #- { key: V, mods: Control, mode: Vi, action: ToggleBlockSelection } @@ -597,14 +602,15 @@ #- { key: Key5, mods: Shift, mode: Vi, action: Bracket } # (Windows, Linux, and BSD only) - #- { key: V, mods: Control|Shift, action: Paste } - #- { key: C, mods: Control|Shift, action: Copy } - #- { key: Insert, mods: Shift, action: PasteSelection } - #- { key: Key0, mods: Control, action: ResetFontSize } - #- { key: Equals, mods: Control, action: IncreaseFontSize } - #- { key: Add, mods: Control, action: IncreaseFontSize } - #- { key: Subtract, mods: Control, action: DecreaseFontSize } - #- { key: Minus, mods: Control, action: DecreaseFontSize } + #- { key: V, mods: Control|Shift, action: Paste } + #- { key: C, mods: Control|Shift, action: Copy } + #- { key: C, mods: Control|Shift, mode: Vi, action: ClearSelection } + #- { key: Insert, mods: Shift, action: PasteSelection } + #- { key: Key0, mods: Control, action: ResetFontSize } + #- { key: Equals, mods: Control, action: IncreaseFontSize } + #- { key: Add, mods: Control, action: IncreaseFontSize } + #- { key: Subtract, mods: Control, action: DecreaseFontSize } + #- { key: Minus, mods: Control, action: DecreaseFontSize } # (Windows only) #- { key: Return, mods: Alt, action: ToggleFullscreen } @@ -618,6 +624,7 @@ #- { key: K, mods: Command, action: ClearHistory } #- { key: V, mods: Command, action: Paste } #- { key: C, mods: Command, action: Copy } + #- { key: C, mods: Command, mode: Vi, action: ClearSelection } #- { key: H, mods: Command, action: Hide } #- { key: M, mods: Command, action: Minimize } #- { key: Q, mods: Command, action: Quit } |