aboutsummaryrefslogtreecommitdiff
path: root/.config/alacritty/mouse.yml
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-07-10 12:08:27 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-07-10 12:08:27 +0530
commit6bfa2ca06e9a79dd655427b3ef3a8f1cf98ed9ea (patch)
tree36c3af54dea4824a491bbb2197dc56e942cb48ca /.config/alacritty/mouse.yml
parent610bf8bf4d6c6e0cb1316710b81fdbe4ddc408dc (diff)
Modularized Alacritty config
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 }