diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml new file mode 100644 index 0000000..b72fb7a --- /dev/null +++ b/.config/alacritty/alacritty.toml @@ -0,0 +1,410 @@ +live_config_reload = true + +[bell] +animation = "EaseOutExpo" +color = "0xffffff" +duration = 0 + +[colors.bright] +black = "#5b6268" +blue = "#3071db" +cyan = "#46d9ff" +green = "#4db5bd" +magenta = "#a9a1e1" +red = "#da8548" +white = "#dfdfdf" +yellow = "#ecbe7b" + +[colors.cursor] +cursor = "#528bff" +text = "CellBackground" + +[colors.normal] +black = "#1c1f24" +blue = "#51afef" +cyan = "#5699af" +green = "#98be65" +magenta = "#c678dd" +red = "#ff6c6b" +white = "#abb2bf" +yellow = "#da8548" + +[colors.primary] +background = "#282c34" +foreground = "#bbc2cf" + +[colors.selection] +background = "#3e4451" +text = "CellForeground" + +[cursor] +style = "Block" +unfocused_hollow = true + +[debug] +log_level = "OFF" +persistent_logging = false +print_events = false +# ref_test = false +render_timer = false + +[env] +TERM = "xterm-256color" + +[font] +size = 11.0 + +[font.bold] +family = "IosevkaTerm Nerd Font" +style = "Bold" + +[font.bold_italic] +family = "IosevkaTerm Nerd Font" +style = "Bold Italic" + +[font.glyph_offset] +x = 0 +y = 0 + +[font.italic] +family = "IosevkaTerm Nerd Font" +style = "Italic" + +[font.normal] +family = "IosevkaTerm Nerd Font" +style = "Regular" + +[font.offset] +x = 0 +y = 0 + +[[keyboard.bindings]] +action = "Paste" +key = "V" +mods = "Command" + +[[keyboard.bindings]] +action = "Copy" +key = "C" +mods = "Command" + +[[keyboard.bindings]] +action = "Quit" +key = "Q" +mods = "Command" + +[[keyboard.bindings]] +action = "SpawnNewInstance" +key = "N" +mods = "Command" + +[[keyboard.bindings]] +action = "ToggleFullscreen" +key = "Return" +mods = "Command" + +[[keyboard.bindings]] +chars = "\u001BOH" +key = "Home" +mode = "AppCursor" + +[[keyboard.bindings]] +chars = "\u001B[H" +key = "Home" +mode = "~AppCursor" + +[[keyboard.bindings]] +chars = "\u001BOF" +key = "End" +mode = "AppCursor" + +[[keyboard.bindings]] +chars = "\u001B[F" +key = "End" +mode = "~AppCursor" + +[[keyboard.bindings]] +action = "IncreaseFontSize" +key = "Equals" +mods = "Command" + +[[keyboard.bindings]] +action = "DecreaseFontSize" +key = "Minus" +mods = "Command" + +[[keyboard.bindings]] +action = "ResetFontSize" +key = "Minus" +mods = "Command|Shift" + +[[keyboard.bindings]] +chars = "\u001B[5;2~" +key = "PageUp" +mods = "Shift" + +[[keyboard.bindings]] +chars = "\u001B[5;5~" +key = "PageUp" +mods = "Control" + +[[keyboard.bindings]] +chars = "\u001B[5~" +key = "PageUp" + +[[keyboard.bindings]] +chars = "\u001B[6;2~" +key = "PageDown" +mods = "Shift" + +[[keyboard.bindings]] +chars = "\u001B[6;5~" +key = "PageDown" +mods = "Control" + +[[keyboard.bindings]] +chars = "\u001B[6~" +key = "PageDown" + +[[keyboard.bindings]] +chars = "\u001B[1;2D" +key = "Left" +mods = "Shift" + +[[keyboard.bindings]] +chars = "\u001B[1;5D" +key = "Left" +mods = "Control" + +[[keyboard.bindings]] +chars = "\u001B[1;3D" +key = "Left" +mods = "Alt" + +[[keyboard.bindings]] +chars = "\u001B[D" +key = "Left" +mode = "~AppCursor" + +[[keyboard.bindings]] +chars = "\u001BOD" +key = "Left" +mode = "AppCursor" + +[[keyboard.bindings]] +chars = "\u001B[1;2C" +key = "Right" +mods = "Shift" + +[[keyboard.bindings]] +chars = "\u001B[1;5C" +key = "Right" +mods = "Control" + +[[keyboard.bindings]] +chars = "\u001B[1;3C" +key = "Right" +mods = "Alt" + +[[keyboard.bindings]] +chars = "\u001B[C" +key = "Right" +mode = "~AppCursor" + +[[keyboard.bindings]] +chars = "\u001BOC" +key = "Right" +mode = "AppCursor" + +[[keyboard.bindings]] +chars = "\u001B[1;2A" +key = "Up" +mods = "Shift" + +[[keyboard.bindings]] +chars = "\u001B[1;5A" +key = "Up" +mods = "Control" + +[[keyboard.bindings]] +chars = "\u001B[1;3A" +key = "Up" +mods = "Alt" + +[[keyboard.bindings]] +chars = "\u001B[A" +key = "Up" +mode = "~AppCursor" + +[[keyboard.bindings]] +chars = "\u001BOA" +key = "Up" +mode = "AppCursor" + +[[keyboard.bindings]] +chars = "\u001B[1;2B" +key = "Down" +mods = "Shift" + +[[keyboard.bindings]] +chars = "\u001B[1;5B" +key = "Down" +mods = "Control" + +[[keyboard.bindings]] +chars = "\u001B[1;3B" +key = "Down" +mods = "Alt" + +[[keyboard.bindings]] +chars = "\u001B[B" +key = "Down" +mode = "~AppCursor" + +[[keyboard.bindings]] +chars = "\u001BOB" +key = "Down" +mode = "AppCursor" + +[[keyboard.bindings]] +chars = "\u001B[Z" +key = "Tab" +mods = "Shift" + +[[keyboard.bindings]] +chars = "\u001BOP" +key = "F1" + +[[keyboard.bindings]] +chars = "\u001BOQ" +key = "F2" + +[[keyboard.bindings]] +chars = "\u001BOR" +key = "F3" + +[[keyboard.bindings]] +chars = "\u001BOS" +key = "F4" + +[[keyboard.bindings]] +chars = "\u001B[15~" +key = "F5" + +[[keyboard.bindings]] +chars = "\u001B[17~" +key = "F6" + +[[keyboard.bindings]] +chars = "\u001B[18~" +key = "F7" + +[[keyboard.bindings]] +chars = "\u001B[19~" +key = "F8" + +[[keyboard.bindings]] +chars = "\u001B[20~" +key = "F9" + +[[keyboard.bindings]] +chars = "\u001B[21~" +key = "F10" + +[[keyboard.bindings]] +chars = "\u001B[23~" +key = "F11" + +[[keyboard.bindings]] +chars = "\u001B[24~" +key = "F12" + +[[keyboard.bindings]] +chars = "\u007F" +key = "Back" + +[[keyboard.bindings]] +chars = "\u001B\u007F" +key = "Back" +mods = "Alt" + +[[keyboard.bindings]] +chars = "\u001B[2~" +key = "Insert" + +[[keyboard.bindings]] +chars = "\u001B[3~" +key = "Delete" + +[[keyboard.bindings]] +chars = "\u0002&" +key = "W" +mods = "Command" + +[[keyboard.bindings]] +chars = "\u0002c" +key = "T" +mods = "Command" + +[[keyboard.bindings]] +chars = "\u0002n" +key = "RBracket" +mods = "Command|Shift" + +[[keyboard.bindings]] +chars = "\u0002p" +key = "LBracket" +mods = "Command|Shift" + +[[keyboard.bindings]] +chars = "\u0002o" +key = "RBracket" +mods = "Command" + +[[keyboard.bindings]] +chars = "\u0002;" +key = "LBracket" +mods = "Command" + +[[keyboard.bindings]] +chars = "\u0002/" +key = "F" +mods = "Command" + +[mouse] +hide_when_typing = true + +[[mouse.bindings]] +action = "PasteSelection" +mouse = "Middle" + +# [mouse.double_click] +# threshold = 300 + +# [mouse.triple_click] +# threshold = 300 + +[scrolling] +history = 100000 +multiplier = 3 + +[selection] +save_to_clipboard = false +semantic_escape_chars = ",│`|:\"' ()[]{}<>" + +[shell] +args = ["-c", "stdout=\"$(tmux ls -F '#{session_name}|#{?session_attached,attached,not attached}' | grep 'not attached$')\"; [ \"$?\" = \"0\" ] && tmux -2 attach -t \"$(printf ${stdout} | tail -1 | cut -d'|' -f1)\" || tmux"] +program = "/bin/sh" + +[window] +dynamic_padding = false +opacity = 1.0 +startup_mode = "Windowed" + +[window.dimensions] +columns = 100 +lines = 85 + +[window.padding] +x = 0 +y = 0 diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index 43bad4e..32a103e 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -85,6 +85,7 @@ font: # Point size of the font size: 11.0 + # size: 25.0 # Offset is the extra space around each character. offset.y can be thought of # as modifying the linespacing, and offset.x as modifying the letter spacing.