summaryrefslogtreecommitdiffstats
path: root/alacritty.yml
diff options
context:
space:
mode:
authorGris Ge <fge@redhat.com>2018-09-24 20:12:45 +0800
committerChristian Duerr <chrisduerr@users.noreply.github.com>2018-09-24 12:12:45 +0000
commita752066bfa281f236b8d171cbc8f6e5a5a940297 (patch)
tree55eeaac39f64e16fcf545639d89e14ce913741c9 /alacritty.yml
parentcd79680ba23b3d9c22372c95fa53dec5b4ea7c8e (diff)
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.
Diffstat (limited to 'alacritty.yml')
-rw-r--r--alacritty.yml5
1 files changed, 5 insertions, 0 deletions
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