summaryrefslogtreecommitdiff
path: root/alacritty.yml
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2021-04-03 23:52:44 +0000
committerGitHub <noreply@github.com>2021-04-03 23:52:44 +0000
commitcbcc12944006603131119b73c2ad72ebccf4562d (patch)
tree3f323703c8ce47d1bf89c2e13f2c129b3e750683 /alacritty.yml
parent531e494cf9a90de91dbbb84cb6cfc3158b78f1f2 (diff)
downloadalacritty-cbcc12944006603131119b73c2ad72ebccf4562d.tar.gz
alacritty-cbcc12944006603131119b73c2ad72ebccf4562d.zip
Add copy/paste/select hint actions
This adds some built-in actions for handling hint selections without having to spawn external applications. The new actions are `Copy`, `Select` and `Paste`.
Diffstat (limited to 'alacritty.yml')
-rw-r--r--alacritty.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/alacritty.yml b/alacritty.yml
index d049e665..3df946a9 100644
--- a/alacritty.yml
+++ b/alacritty.yml
@@ -478,9 +478,19 @@
# List with all available hints
#
+ # Each hint takes a `regex`, `binding` and either a `command` or an `action`.
+ #
# The fields `command`, `binding.key` and `binding.mods` accept the same
# values as they do in the `key_bindings` section.
#
+ # Values for `action`:
+ # - Copy
+ # Copy the hint's text to the clipboard.
+ # - Paste
+ # Paste the hint's text to the terminal or search.
+ # - Select
+ # Select the hint's text.
+ #
# Example
#
# enabled: