make sure alt and ctrl+/ work on macOS

This commit is contained in:
Oliver Ladner 2024-01-31 17:43:19 +01:00
commit 40b61db332

View file

@ -13,9 +13,10 @@ normal = { family = "JetBrainsMono Nerd Font", style = "Thin" }
size = 17
[window]
option_as_alt = "Both"
decorations = "None"
padding = { x = 12, y = 12 }
dynamic_padding = false
padding = { x = 12, y = 5 }
dynamic_padding = true
[bell]
duration = 10
@ -24,5 +25,8 @@ color = "#3a3a3a"
[cursor]
style = { shape = "Block", blinking = "Always" }
[keyboard]
bindings = [{ key = "T", mods = "Command", action = "CreateNewWindow" }]
# Required to make Ctrl+/ work on macOS (used in Telescope)
[[keyboard.bindings]]
chars = "\u001F"
key = "Slash"
mods = "Control"