aboutsummaryrefslogtreecommitdiff
path: root/.config/alacritty/mouse.yml
diff options
context:
space:
mode:
Diffstat (limited to '.config/alacritty/mouse.yml')
-rw-r--r--.config/alacritty/mouse.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.config/alacritty/mouse.yml b/.config/alacritty/mouse.yml
new file mode 100644
index 0000000..31cd6ae
--- /dev/null
+++ b/.config/alacritty/mouse.yml
@@ -0,0 +1,32 @@
+mouse:
+ double_click: { threshold: 300 }
+ triple_click: { threshold: 300 }
+
+ # If this is `true`, the cursor is temporarily hidden when typing.
+ hide_when_typing: false
+
+# Mouse bindings
+#
+# Mouse bindings are specified as a list of objects, much like the key
+# bindings further below.
+#
+# To trigger mouse bindings when an application running within Alacritty
+# captures the mouse, the `Shift` modifier is automatically added as a
+# requirement.
+#
+# Each mouse binding will specify a:
+#
+# - `mouse`:
+#
+# - Middle
+# - Left
+# - Right
+# - Numeric identifier such as `5`
+#
+# - `action` (see key bindings)
+#
+# And optionally:
+#
+# - `mods` (see key bindings)
+mouse_bindings:
+ - { mouse: Middle, action: PasteSelection }