From 80e076337922d3c4be20775a584264ed84167033 Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Wed, 13 Aug 2025 10:00:16 +0200 Subject: [PATCH] feat(alacritty): custom config for TODO.md --- .config/alacritty/alacritty-todo.toml | 65 +++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 .config/alacritty/alacritty-todo.toml diff --git a/.config/alacritty/alacritty-todo.toml b/.config/alacritty/alacritty-todo.toml new file mode 100644 index 0000000..8f81d5e --- /dev/null +++ b/.config/alacritty/alacritty-todo.toml @@ -0,0 +1,65 @@ +# Used for TODO.txt +[font] +normal = { family = "JetBrainsMono Nerd Font", style = "Thin" } +bold = { style = "Bold" } +italic = { style = "Italic" } +bold_italic = { style = "Bold Italic" } +size = 17 + +[window] +option_as_alt = "Both" +decorations = "None" +padding = { x = 12, y = 5 } +dynamic_padding = true +# opacity = 0.8 +# blur = true + +[bell] +duration = 10 +color = "#3a3a3a" + +[cursor] +style = { shape = "Block", blinking = "Always" } + +[colors.search] +matches = { foreground = "#f4d03f", background = "#273746" } +focused_match = { foreground = "#273746", background = "#f4d03f" } + +[colors.footer_bar] +background = "#f4d03f" +foreground = "#273746" + +[keyboard] + +bindings = [ + # Required to make Ctrl+/ work on macOS (used in Telescope) + { chars = "\u001F", key = "Slash", mods = "Control" }, + { key = "Key0", mods = "Command", action = "ResetFontSize" }, + { key = "0", mods = "Command", action = "ResetFontSize" }, + { key = "Plus", mods = "Command", action = "IncreaseFontSize" }, + { key = "Minus", mods = "Command", action = "DecreaseFontSize" }, + { key = "PageUp", mods = "Shift", action = "ScrollPageUp" }, + { key = "PageDown", mods = "Shift", action = "ScrollPageDown" }, + # Disable Cmd+w to avoid accidental closing. Disabling Cmd+q needs more work + { key = "w", mods = "Command", action = "None" }, +] + +[general] +# Vi Mode +# The vi mode allows moving around Alacritty's viewport and scrollback using +# the keyboard. It also serves as a jump-off point for other features like +# search and opening URLs with the keyboard. By default you can launch it +# using Ctrl Shift Space. + +# Selection +# One useful feature of vi mode is the ability to make selections and copy text +# to the clipboard. By default you can start a selection using v and copy it +# using y. All selection modes that are available with the mouse can be accessed +# from vi mode, including the semantic (Alt v), line (Shift v) and block +# selection (Ctrl v). You can also toggle between them while the selection is +# still active. + +import = ["~/.config/alacritty/rose-pine-moon.toml"] + +#[mouse] +#hide_when_typing = true