From a752066bfa281f236b8d171cbc8f6e5a5a940297 Mon Sep 17 00:00:00 2001 From: Gris Ge Date: Mon, 24 Sep 2018 20:12:45 +0800 Subject: Allow copying selection to primary clipboard A new configuration option `save_to_clipboard` has been added to the `selection` section of the configuration. This allows writing every selection to the primary system clipboard when it is set to `true`. On linux the selection is still written to the selection clipboard, independent of the value of the `save_to_clipboard` setting. --- alacritty.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'alacritty.yml') diff --git a/alacritty.yml b/alacritty.yml index e2d648d3..e6578ffa 100644 --- a/alacritty.yml +++ b/alacritty.yml @@ -262,6 +262,11 @@ mouse: selection: semantic_escape_chars: ",│`|:\"' ()[]{}<>" + # When set to `true`, selected text will be copied to both the primary and + # the selection clipboard. Otherwise, it will only be copied to the selection + # clipboard. + save_to_clipboard: false + dynamic_title: true hide_cursor_when_typing: false -- cgit v1.2.3