Skip to content

Commit

Permalink
alacritty: enable some default keybindings
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuma017 committed Apr 18, 2024
1 parent 0dad4b1 commit 2c31aeb
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .config/alacritty/alacritty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down

0 comments on commit 2c31aeb

Please sign in to comment.