From 2c31aebc4462a0d7dd1126884472fbac4e28f4a4 Mon Sep 17 00:00:00 2001 From: Ryuma Taguchi Date: Thu, 18 Apr 2024 16:53:36 +0900 Subject: [PATCH] alacritty: enable some default keybindings --- .config/alacritty/alacritty.toml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml index 2e3618e..add1857 100644 --- a/.config/alacritty/alacritty.toml +++ b/.config/alacritty/alacritty.toml @@ -30,24 +30,22 @@ bindings = [ [keyboard] # disable a bunch of default keybindings bindings = [ - { key = "Paste", action = "ReceiveChar" }, - { key = "Copy", action = "ReceiveChar" }, + #{ key = "Paste", action = "ReceiveChar" }, + #{ key = "Copy", action = "ReceiveChar" }, { key = "L", mods = "Control", action = "ReceiveChar" }, { key = "L", mods = "Control", mode = "~Vi|~Search", action = "ReceiveChar" }, # vi mode { key = "Space", mods = "Shift|Control", mode = "~Search", action = "ReceiveChar" }, # macOS exclusive { key = "K", mods = "Command", mode = "~Vi|~Search", action = "ReceiveChar" }, - { key = "0", mods = "Command", action = "ReceiveChar" }, - { key = "=", mods = "Command", action = "ReceiveChar" }, - { key = "+", mods = "Command", action = "ReceiveChar" }, - { key = "NumpadAdd", mods = "Command", action = "ReceiveChar" }, - { key = "-", mods = "Command", action = "ReceiveChar" }, - { key = "NumpadSubtract", mods = "Command", action = "ReceiveChar" }, - { key = "V", mods = "Command", mode = "~Vi", action = "ReceiveChar" }, - { key = "V", mods = "Command", mode = "Vi|Search", action = "ReceiveChar" }, - { key = "C", mods = "Command", action = "ReceiveChar" }, - { key = "C", mods = "Command", mode = "Vi|~Search", action = "ReceiveChar" }, + # { key = "0", mods = "Command", action = "ReceiveChar" }, + #{ key = "=", mods = "Command", action = "ReceiveChar" }, + #{ key = "+", mods = "Command", action = "ReceiveChar" }, + #{ key = "NumpadAdd", mods = "Command", action = "ReceiveChar" }, + #{ key = "-", mods = "Command", action = "ReceiveChar" }, + #{ key = "NumpadSubtract", mods = "Command", action = "ReceiveChar" }, + #{ key = "V", mods = "Command", mode = "~Vi", action = "ReceiveChar" }, + #{ key = "C", mods = "Command", action = "ReceiveChar" }, { key = "H", mods = "Command", action = "ReceiveChar" }, { key = "H", mods = "Command|Alt", action = "ReceiveChar" }, { key = "M", mods = "Command", action = "ReceiveChar" },