From aa532b16fd20531bc314d335cab6510b108d1d81 Mon Sep 17 00:00:00 2001 From: XcaliBuR75 Date: Mon, 18 Oct 2021 11:28:24 -0300 Subject: [PATCH] my first contribution --- .config/alacritty/alacritty.yml | 242 +++++++++++++++++++++++++ .config/alacritty/alacritty.yml.bak | 242 +++++++++++++++++++++++++ .config/alacritty/gruvbox_material.yml | 30 +++ 3 files changed, 514 insertions(+) create mode 100644 .config/alacritty/alacritty.yml create mode 100644 .config/alacritty/alacritty.yml.bak create mode 100644 .config/alacritty/gruvbox_material.yml diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml new file mode 100644 index 00000000..db5d6ed6 --- /dev/null +++ b/.config/alacritty/alacritty.yml @@ -0,0 +1,242 @@ +env: + TERM: alacritty + +# Colors (Tokyo Night) +# Source: https://github.com/zatchheems/tokyo-night-alacritty-theme +schemes: + # Tokyo Night + tokyo-night: &tokyo-night + primary: + background: '#1a1b26' + foreground: '#a9b1d6' + + # Normal colors + normal: + black: '#32344a' + red: '#f7768e' + green: '#9ece6a' + yellow: '#e0af68' + blue: '#7aa2f7' + magenta: '#ad8ee6' + cyan: '#449dab' + white: '#787c99' + + # Bright colors + bright: + black: '#444b6a' + red: '#ff7a93' + green: '#b9f27c' + yellow: '#ff9e64' + blue: '#7da6ff' + magenta: '#bb9af7' + cyan: '#0db9d7' + white: '#acb0d0' + + # Bim + bim: &bim + primary: + background: '#1a1b26' + foreground: '#ffffff' + cursor: + text: CellBackground + cursor: CellForeground + selection: + text: CellForeground + background: '#3e4451' + normal: + black: '#2c2423' + red: '#f557a0' + green: '#a9ee55' + yellow: '#f5a255' + blue: '#5ea2ec' + magenta: '#a957ec' + cyan: '#5eeea0' + white: '#918988' + bright: + black: '#918988' + red: '#f579b2' + green: '#bbee78' + yellow: '#f5b378' + blue: '#81b3ec' # This is 2257a0 in Doom Emacs but I lightened it. + magenta: '#bb79ec' + cyan: '#81eeb2' + white: '#f5eeec' + + # Dracula + dracula: &dracula + primary: + background: '#1a1b26' + foreground: '#ffffff' + cursor: + text: CellBackground + cursor: CellForeground + vi_mode_cursor: + text: CellBackground + cursor: CellForeground + search: + matches: + foreground: '#44475a' + background: '#50fa7b' + focused_match: + foreground: '#44475a' + background: '#ffb86c' + bar: + background: '#282a36' + foreground: '#f8f8f2' + line_indicator: + foreground: None + background: None + selection: + text: CellForeground + background: '#44475a' + normal: + black: '#000000' + red: '#ff5555' + green: '#50fa7b' + yellow: '#f1fa8c' + blue: '#bd93f9' + magenta: '#ff79c6' + cyan: '#8be9fd' + white: '#bfbfbf' + bright: + black: '#4d4d4d' + red: '#ff6e67' + green: '#5af78e' + yellow: '#f4f99d' + blue: '#caa9fa' + magenta: '#ff92d0' + cyan: '#9aedfe' + white: '#e6e6e6' + dim: + black: '#14151b' + red: '#ff2222' + green: '#1ef956' + yellow: '#ebf85b' + blue: '#4d5b86' + magenta: '#ff46b0' + cyan: '#59dffc' + white: '#e6e6d1' + +# Choose ONE color scheme from those available in the above list. +colors: *dracula + +background_opacity: 1.0 + +font: + normal: + family: "JetBrainsMono Nerd Font" + style: Regular + bold: + family: "JetBrainsMono Nerd Font" + style: Bold + italic: + family: "JetBrainsMono Nerd Font" + style: Italic + bold_italic: + family: "JetBrainsMono Nerd Font" + style: Bold Italic + + # Point size + size: 13.0 + + offset: + x: 0 + y: 0 + glyph_offset: + x: 0 + y: 0 + +window: + dynamic_title: true + dynamic_padding: false + padding: + x: 2 + y: 2 + +scrolling: + # Maximum number of lines in the scrollback buffer. + # Specifying '0' will disable scrolling. + history: 10000 + + # Number of lines the viewport will move for every line scrolled when + # scrollback is enabled (history > 0). + multiplier: 10 + +# If `true`, bold text is drawn using the bright color variants. +draw_bold_text_with_bright_colors: true + +selection: + semantic_escape_chars: ',│`|:"'' ()[]{}<>' + save_to_clipboard: true + +live_config_reload: true + +# Allow terminal applications to change Alacritty's window title. + +cursor: + style: + shape: Underline + + # If this is `true`, the cursor will be rendered as a hollow box when the + # window is not focused. + unfocused_hollow: false + vi_mode_style: Block + +key_bindings: + # (Windows, Linux, and BSD only) + - { key: P, mods: Control, action: Paste } + - { key: Insert, mods: Shift, action: Paste } + - { key: Slash, mods: Control, chars: "gc" } + - { key: Y, mods: Control, action: Copy } + - { key: Key0, mods: Control, action: ResetFontSize } + - { key: Equals, mods: Control, action: IncreaseFontSize } + - { key: Plus, mods: Control, action: IncreaseFontSize } + - { key: Minus, mods: Control, action: DecreaseFontSize } + # Vi Mode + - { key: Space, mods: Control, mode: Vi, action: ScrollToBottom } + - { key: Space, mods: Control, action: ToggleViMode } + - { key: I, mode: Vi, action: ScrollToBottom } + - { key: I, mode: Vi, action: ToggleViMode } + - { key: C, mods: Control, mode: Vi, action: ScrollToBottom } + - { key: C, mods: Control, mode: Vi, action: ToggleViMode } + - { key: Escape, mode: Vi, action: ClearSelection } + - { key: Y, mods: Control, mode: Vi, action: ScrollLineUp } + - { key: E, mods: Control, mode: Vi, action: ScrollLineDown } + - { key: G, mode: Vi, action: ScrollToTop } + - { key: G, mods: Shift, mode: Vi, action: ScrollToBottom } + - { key: B, mods: Control, mode: Vi, action: ScrollPageUp } + - { key: F, mods: Control, mode: Vi, action: ScrollPageDown } + - { key: U, mods: Control, mode: Vi, action: ScrollHalfPageUp } + - { key: D, mods: Control, mode: Vi, action: ScrollHalfPageDown } + - { key: Y, mode: Vi, action: Copy } + - { key: Y, mode: Vi, action: ClearSelection } + - { key: V, mode: Vi, action: ToggleNormalSelection } + - { key: V, mods: Shift, mode: Vi, action: ToggleLineSelection } + - { key: V, mods: Control, mode: Vi, action: ToggleBlockSelection } + - { key: V, mods: Alt, mode: Vi, action: ToggleSemanticSelection } + - { key: Return, mode: Vi, action: Open } + - { key: K, mode: Vi, action: Up } + - { key: J, mode: Vi, action: Down } + - { key: H, mode: Vi, action: Left } + - { key: L, mode: Vi, action: Right } + - { key: Up, mode: Vi, action: Up } + - { key: Down, mode: Vi, action: Down } + - { key: Left, mode: Vi, action: Left } + - { key: Right, mode: Vi, action: Right } + - { key: Key0, mode: Vi, action: First } + - { key: Key4, mode: Vi, action: Last } + - { key: Key6, mods: Shift, mode: Vi, action: FirstOccupied } + - { key: H, mods: Shift, mode: Vi, action: High } + - { key: M, mods: Shift, mode: Vi, action: Middle } + - { key: L, mods: Shift, mode: Vi, action: Low } + - { key: B, mode: Vi, action: SemanticLeft } + - { key: W, mode: Vi, action: SemanticRight } + - { key: E, mode: Vi, action: SemanticRightEnd } + - { key: B, mods: Shift, mode: Vi, action: WordLeft } + - { key: W, mods: Shift, mode: Vi, action: WordRight } + - { key: E, mods: Shift, mode: Vi, action: WordRightEnd } + - { key: Key5, mods: Shift, mode: Vi, action: Bracket } + - { key: Slash, mode: Vi, action: SearchForward } + - { key: Slash, mods: Shift, mode: Vi, action: SearchBackward } + - { key: N, mode: Vi, action: SearchNext } + - { key: N, mods: Shift, mode: Vi, action: SearchPrevious } diff --git a/.config/alacritty/alacritty.yml.bak b/.config/alacritty/alacritty.yml.bak new file mode 100644 index 00000000..10573415 --- /dev/null +++ b/.config/alacritty/alacritty.yml.bak @@ -0,0 +1,242 @@ +env: + TERM: alacritty + +# Colors (Tokyo Night) +# Source: https://github.com/zatchheems/tokyo-night-alacritty-theme +schemes: + # Tokyo Night + tokyo-night: &tokyo-night + primary: + background: '#1a1b26' + foreground: '#a9b1d6' + + # Normal colors + normal: + black: '#32344a' + red: '#f7768e' + green: '#9ece6a' + yellow: '#e0af68' + blue: '#7aa2f7' + magenta: '#ad8ee6' + cyan: '#449dab' + white: '#787c99' + + # Bright colors + bright: + black: '#444b6a' + red: '#ff7a93' + green: '#b9f27c' + yellow: '#ff9e64' + blue: '#7da6ff' + magenta: '#bb9af7' + cyan: '#0db9d7' + white: '#acb0d0' + + # Bim + bim: &bim + primary: + background: '#1a1b26' + foreground: '#ffffff' + cursor: + text: CellBackground + cursor: CellForeground + selection: + text: CellForeground + background: '#3e4451' + normal: + black: '#2c2423' + red: '#f557a0' + green: '#a9ee55' + yellow: '#f5a255' + blue: '#5ea2ec' + magenta: '#a957ec' + cyan: '#5eeea0' + white: '#918988' + bright: + black: '#918988' + red: '#f579b2' + green: '#bbee78' + yellow: '#f5b378' + blue: '#81b3ec' # This is 2257a0 in Doom Emacs but I lightened it. + magenta: '#bb79ec' + cyan: '#81eeb2' + white: '#f5eeec' + + # Dracula + dracula: &dracula + primary: + background: '#1a1b26' + foreground: '#ffffff' + cursor: + text: CellBackground + cursor: CellForeground + vi_mode_cursor: + text: CellBackground + cursor: CellForeground + search: + matches: + foreground: '#44475a' + background: '#50fa7b' + focused_match: + foreground: '#44475a' + background: '#ffb86c' + bar: + background: '#282a36' + foreground: '#f8f8f2' + line_indicator: + foreground: None + background: None + selection: + text: CellForeground + background: '#44475a' + normal: + black: '#000000' + red: '#ff5555' + green: '#50fa7b' + yellow: '#f1fa8c' + blue: '#bd93f9' + magenta: '#ff79c6' + cyan: '#8be9fd' + white: '#bfbfbf' + bright: + black: '#4d4d4d' + red: '#ff6e67' + green: '#5af78e' + yellow: '#f4f99d' + blue: '#caa9fa' + magenta: '#ff92d0' + cyan: '#9aedfe' + white: '#e6e6e6' + dim: + black: '#14151b' + red: '#ff2222' + green: '#1ef956' + yellow: '#ebf85b' + blue: '#4d5b86' + magenta: '#ff46b0' + cyan: '#59dffc' + white: '#e6e6d1' + +# Choose ONE color scheme from those available in the above list. +colors: *dracula + +background_opacity: 1.0 + +font: + normal: + family: "Hack Nerd Font" + style: Regular + bold: + family: "Hack Nerd Font" + style: Bold + italic: + family: "Hack Nerd Font" + style: Italic + bold_italic: + family: "Hack Nerd Font" + style: Bold Italic + + # Point size + size: 13.0 + + offset: + x: 0 + y: 0 + glyph_offset: + x: 0 + y: 0 + +window: + dynamic_title: true + dynamic_padding: false + padding: + x: 2 + y: 2 + +scrolling: + # Maximum number of lines in the scrollback buffer. + # Specifying '0' will disable scrolling. + history: 10000 + + # Number of lines the viewport will move for every line scrolled when + # scrollback is enabled (history > 0). + multiplier: 10 + +# If `true`, bold text is drawn using the bright color variants. +draw_bold_text_with_bright_colors: true + +selection: + semantic_escape_chars: ',│`|:"'' ()[]{}<>' + save_to_clipboard: true + +live_config_reload: true + +# Allow terminal applications to change Alacritty's window title. + +cursor: + style: + shape: Underline + + # If this is `true`, the cursor will be rendered as a hollow box when the + # window is not focused. + unfocused_hollow: false + vi_mode_style: Block + +key_bindings: + # (Windows, Linux, and BSD only) + - { key: P, mods: Control, action: Paste } + - { key: Insert, mods: Shift, action: Paste } + - { key: Slash, mods: Control, chars: "gc" } + - { key: Y, mods: Control, action: Copy } + - { key: Key0, mods: Control, action: ResetFontSize } + - { key: Equals, mods: Control, action: IncreaseFontSize } + - { key: Plus, mods: Control, action: IncreaseFontSize } + - { key: Minus, mods: Control, action: DecreaseFontSize } + # Vi Mode + - { key: Space, mods: Control, mode: Vi, action: ScrollToBottom } + - { key: Space, mods: Control, action: ToggleViMode } + - { key: I, mode: Vi, action: ScrollToBottom } + - { key: I, mode: Vi, action: ToggleViMode } + - { key: C, mods: Control, mode: Vi, action: ScrollToBottom } + - { key: C, mods: Control, mode: Vi, action: ToggleViMode } + - { key: Escape, mode: Vi, action: ClearSelection } + - { key: Y, mods: Control, mode: Vi, action: ScrollLineUp } + - { key: E, mods: Control, mode: Vi, action: ScrollLineDown } + - { key: G, mode: Vi, action: ScrollToTop } + - { key: G, mods: Shift, mode: Vi, action: ScrollToBottom } + - { key: B, mods: Control, mode: Vi, action: ScrollPageUp } + - { key: F, mods: Control, mode: Vi, action: ScrollPageDown } + - { key: U, mods: Control, mode: Vi, action: ScrollHalfPageUp } + - { key: D, mods: Control, mode: Vi, action: ScrollHalfPageDown } + - { key: Y, mode: Vi, action: Copy } + - { key: Y, mode: Vi, action: ClearSelection } + - { key: V, mode: Vi, action: ToggleNormalSelection } + - { key: V, mods: Shift, mode: Vi, action: ToggleLineSelection } + - { key: V, mods: Control, mode: Vi, action: ToggleBlockSelection } + - { key: V, mods: Alt, mode: Vi, action: ToggleSemanticSelection } + - { key: Return, mode: Vi, action: Open } + - { key: K, mode: Vi, action: Up } + - { key: J, mode: Vi, action: Down } + - { key: H, mode: Vi, action: Left } + - { key: L, mode: Vi, action: Right } + - { key: Up, mode: Vi, action: Up } + - { key: Down, mode: Vi, action: Down } + - { key: Left, mode: Vi, action: Left } + - { key: Right, mode: Vi, action: Right } + - { key: Key0, mode: Vi, action: First } + - { key: Key4, mode: Vi, action: Last } + - { key: Key6, mods: Shift, mode: Vi, action: FirstOccupied } + - { key: H, mods: Shift, mode: Vi, action: High } + - { key: M, mods: Shift, mode: Vi, action: Middle } + - { key: L, mods: Shift, mode: Vi, action: Low } + - { key: B, mode: Vi, action: SemanticLeft } + - { key: W, mode: Vi, action: SemanticRight } + - { key: E, mode: Vi, action: SemanticRightEnd } + - { key: B, mods: Shift, mode: Vi, action: WordLeft } + - { key: W, mods: Shift, mode: Vi, action: WordRight } + - { key: E, mods: Shift, mode: Vi, action: WordRightEnd } + - { key: Key5, mods: Shift, mode: Vi, action: Bracket } + - { key: Slash, mode: Vi, action: SearchForward } + - { key: Slash, mods: Shift, mode: Vi, action: SearchBackward } + - { key: N, mode: Vi, action: SearchNext } + - { key: N, mods: Shift, mode: Vi, action: SearchPrevious } diff --git a/.config/alacritty/gruvbox_material.yml b/.config/alacritty/gruvbox_material.yml new file mode 100644 index 00000000..c549d5fb --- /dev/null +++ b/.config/alacritty/gruvbox_material.yml @@ -0,0 +1,30 @@ +# Colors (Gruvbox Material Dark Medium) +colors: + # Default colors + primary: + # hard contrast: background = '#1d2021' + background: '#282828' + # soft contrast: background = '#32302f' + foreground: '#dfbf8e' + + # Normal colors + normal: + black: '#665c54' + red: '#ea6962' + green: '#a9b665' + yellow: '#e78a4e' + blue: '#7daea3' + magenta: '#d3869b' + cyan: '#89b482' + white: '#dfbf8e' + + # Bright colors + bright: + black: '#928374' + red: '#ea6962' + green: '#a9b665' + yellow: '#e3a84e' + blue: '#7daea3' + magenta: '#d3869b' + cyan: '#89b482' + white: '#dfbf8e'