X-Git-Url: https://git.madduck.net/etc/alacritty.git/blobdiff_plain/66cdc50257c3843e966bff087d8f27e3fa97dac8..e67f8b9f28ce02dcd2cbb1bfe17cf23124cb435c:/.config/alacritty/alacritty.toml diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml new file mode 100644 index 0000000..1581dfc --- /dev/null +++ b/.config/alacritty/alacritty.toml @@ -0,0 +1,33 @@ +[general] +live_config_reload = true + +[window] +dynamic_padding = true +decorations = "None" + +[font] +normal = { family = "DejaVuSansM Nerd Font Mono" } +size = 8 + +[terminal] +shell = { program = "/bin/zsh", args = ["-l"] } + +[keyboard] +bindings = [ + { key = "s", mods = "Control|Alt", action = "SearchBackward" }, + { key = "v", mods = "Control|Alt", action = "Paste" }, + { key = "c", mods = "Control|Alt", action = "Copy" }, + + { key = "+", mods = "Control|Shift", action = "IncreaseFontSize" }, + { key = "-", mods = "Control", action = "DecreaseFontSize" }, + { key = "0", mods = "Control", action = "ResetFontSize" }, + + { key = "PageUp", mods = "Shift", action = "ScrollPageUp" }, + { key = "PageDown", mods = "Shift", action = "ScrollPageDown" }, + { key = "End", mods = "Shift", action = "ScrollToBottom" }, + { key = "Home", mods = "Shift", action = "ScrollToTop" }, + + { key = "ArrowUp", mode = "Search", action = "SearchFocusNext" }, + { key = "ArrowDown", mode = "Search", action = "SearchFocusPrevious" }, + { key = "Enter", mode = "Search", action = "SearchCancel" }, +]