aboutsummaryrefslogtreecommitdiffhomepage
path: root/.config/alacritty/alacritty.macos.toml
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-23 01:56:06 +0900
committernsfisis <nsfisis@gmail.com>2024-07-23 01:56:06 +0900
commitecf29f0e4358d66a3ea1e5e8e6fdccce77294f07 (patch)
tree4e94f8cf580f59c0f46b94d34c97ff982c8eaa08 /.config/alacritty/alacritty.macos.toml
parent15a7776562ada62d8ca47c37b45d455d37dde372 (diff)
downloaddotfiles-ecf29f0e4358d66a3ea1e5e8e6fdccce77294f07.tar.gz
dotfiles-ecf29f0e4358d66a3ea1e5e8e6fdccce77294f07.tar.zst
dotfiles-ecf29f0e4358d66a3ea1e5e8e6fdccce77294f07.zip
alacritty: migrate yaml configs to toml
Diffstat (limited to '.config/alacritty/alacritty.macos.toml')
-rw-r--r--.config/alacritty/alacritty.macos.toml39
1 files changed, 39 insertions, 0 deletions
diff --git a/.config/alacritty/alacritty.macos.toml b/.config/alacritty/alacritty.macos.toml
new file mode 100644
index 0000000..aa00447
--- /dev/null
+++ b/.config/alacritty/alacritty.macos.toml
@@ -0,0 +1,39 @@
+[hints]
+alphabet = "asdfghjkl;"
+
+[[hints.enabled]]
+command = "open"
+post_processing = true
+# The last 5 characters that are excluded from URL letters are my 'listchars' settings in Vim/Neovim.
+regex = "(https:|http:|file:)[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`\u00AC\u25B8\u00B7\u00BB\u00AB]+"
+
+[hints.enabled.binding]
+key = "U"
+mods = "Command"
+
+[hints.enabled.mouse]
+enabled = true
+mods = "None"
+
+[[keyboard.bindings]]
+action = "ResetFontSize"
+key = "Key0"
+mods = "Command"
+
+[[keyboard.bindings]]
+action = "IncreaseFontSize"
+key = "Key1"
+mods = "Command"
+
+[[keyboard.bindings]]
+action = "DecreaseFontSize"
+key = "Key2"
+mods = "Command"
+
+# Workaround:
+# Alacritty v0.11.0-rc1 or later emits Yen symbol when you type Yen key
+# even if you set "backslash" to "a character by Yen key".
+# See also: https://github.com/rust-windowing/winit/issues/2577
+# [[keyboard.bindings]]
+# chars = "\\"
+# key = "Yen"