-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: implement theme catppuccin (#45)
- Loading branch information
Showing
8 changed files
with
703 additions
and
441 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,337 @@ | ||
# Any items in the `env` entry below will be added as | ||
# environment variables. Some entries may override variables | ||
# set by alacritty it self. | ||
env: | ||
# TERM env customization. | ||
# | ||
# This value is used to set the `$TERM` environment variable for | ||
# each instance of Alacritty. If it is not present, alacritty will | ||
# check the local terminfo database and use `alacritty` if it is | ||
# available, otherwise `xterm-256color` is used. | ||
# TERM: screen-256color # this is what neovim needs | ||
#TERM: alacritty | ||
TERM: xterm-256color | ||
|
||
#window: | ||
# Window dimensions (changes require restart) | ||
# | ||
# Number of lines/columns (not pixels) in the terminal. Both lines and columns | ||
# must be non-zero for this to take effect. The number of columns must be at | ||
# least `2`, while using a value of `0` for columns and lines will fall back | ||
# to the window manager's recommended size | ||
#dimensions: | ||
# columns: 0 | ||
# lines: 0 | ||
|
||
# Window position (changes require restart) | ||
# | ||
# Specified in number of pixels. | ||
# If the position is not set, the window manager will handle the placement. | ||
#position: | ||
# x: 0 | ||
# y: 0 | ||
|
||
# Window padding (changes require restart) | ||
# | ||
# Blank space added around the window in pixels. This padding is scaled | ||
# by DPI and the specified value is always added at both opposing sides. | ||
#padding: | ||
# x: 0 | ||
# y: 0 | ||
|
||
# Spread additional padding evenly around the terminal content. | ||
#dynamic_padding: false | ||
|
||
# Window decorations | ||
# | ||
# Values for `decorations`: | ||
# - full: Borders and title bar | ||
# - none: Neither borders nor title bar | ||
# | ||
# Values for `decorations` (macOS only): | ||
# - transparent: Title bar, transparent background and title bar buttons | ||
# - buttonless: Title bar, transparent background and no title bar buttons | ||
decorations: full | ||
|
||
# Background opacity | ||
# | ||
# Window opacity as a floating point number from `0.0` to `1.0`. | ||
# The value `0.0` is completely transparent and `1.0` is opaque. | ||
#opacity: 1.0 | ||
|
||
# Startup Mode (changes require restart) | ||
# | ||
# Values for `startup_mode`: | ||
# - Windowed | ||
# - Maximized | ||
# - Fullscreen | ||
# | ||
# Values for `startup_mode` (macOS only): | ||
# - SimpleFullscreen | ||
startup_mode: Maximized | ||
|
||
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: 3 | ||
|
||
# Faux Scrolling | ||
# | ||
# The `faux_multiplier` setting controls the number of lines the terminal | ||
# should scroll when the alternate screen buffer is active. This is used to | ||
# allow mouse scrolling for applications like `man`. | ||
# | ||
# Specifying `0` will disable faux scrolling. | ||
faux_multiplier: 3 | ||
|
||
# Scroll to the bottom when new text is written to the terminal. | ||
auto_scroll: false | ||
|
||
# Display tabs using this many cells (changes require restart) | ||
# | ||
# Some applications, like Emacs, rely on knowing about the width of a tab. To | ||
# prevent unexpected behavior in these applications, it's also required to | ||
# change the `it` value in terminfo when altering this setting. | ||
# | ||
tabspaces: 2 | ||
|
||
# Font configuration (changes require restart) | ||
font: | ||
# The normal (roman) font face to use. | ||
# Style can be specified to pick a specific face. | ||
normal: | ||
family: "FiraCode Nerd Font Mono" | ||
#style: Retina | ||
|
||
# The bold font face | ||
# bold: | ||
# family: 'FiraCode Nerd Font Mono' | ||
# style: Bold | ||
|
||
# The italic font face | ||
# italic: | ||
# # family: "Fira Code" | ||
# family: 'FiraCode Nerd Font Mono' | ||
# style: 'Italic' | ||
|
||
# Point size of the font | ||
size: 20.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. | ||
offset: | ||
x: 0 | ||
y: 0 | ||
|
||
# Glyph offset determines the locations of the glyphs within their cells with | ||
# the default being at the bottom. Increase the x offset to move the glyph to | ||
# the right, increase the y offset to move the glyph upward. | ||
glyph_offset: | ||
x: 0 | ||
y: 0 | ||
|
||
# Thin stroke font rendering (macOS only) | ||
# | ||
# Thin strokes are suitable for retina displays, but for non-retina you | ||
# probably want this set to false. | ||
# | ||
# macOS >= 10.14.x: | ||
# | ||
# If the font quality on non-retina display looks bad then set | ||
# `use_thin_strokes` to `true` and enable font smoothing by running the | ||
# following command: | ||
# `defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO` | ||
# | ||
# This is a global setting and will require a log out or restart to take | ||
# effect. | ||
# use_thin_strokes: true | ||
|
||
# Use custom cursor colors. If true, display the cursor in the cursor.foreground | ||
# and cursor.background colors, otherwise invert the colors of the cursor. | ||
# custom_cursor_colors: false | ||
|
||
# # Use custom cursor colors. If true, display the cursor in the cursor.foreground and cursor.background colors, otherwise invert the colors of the cursor. | ||
custom_cursor_colors: true | ||
|
||
# Visual Bell | ||
# | ||
# Any time the BEL code is received, Alacritty "rings" the visual bell. Once | ||
# rung, the terminal background will be set to white and transition back to the | ||
# default background color. You can control the rate of this transition by | ||
# setting the `duration` property (represented in milliseconds). You can also | ||
# configure the transition function by setting the `animation` property. | ||
# | ||
# Values for `animation`: | ||
# - Ease | ||
# - EaseOut | ||
# - EaseOutSine | ||
# - EaseOutQuad | ||
# - EaseOutCubic | ||
# - EaseOutQuart | ||
# - EaseOutQuint | ||
# - EaseOutExpo | ||
# - EaseOutCirc | ||
# - Linear | ||
# | ||
# Specifying a `duration` of `0` will disable the visual bell. | ||
visual_bell: | ||
animation: EaseOutExpo | ||
duration: 0 | ||
color: "0xffffff" | ||
|
||
# Background opacity | ||
# | ||
# Window opacity as a floating point number from `0.0` to `1.0`. | ||
# The value `0.0` is completely transparent and `1.0` is opaque. | ||
# background_opacity: 1.0 | ||
|
||
# Mouse bindings | ||
# | ||
# Available fields: | ||
# - mouse | ||
# - action | ||
# - mods (optional) | ||
# | ||
# Values for `mouse`: | ||
# - Middle | ||
# - Left | ||
# - Right | ||
# - Numeric identifier such as `5` | ||
# | ||
# All available `mods` and `action` values are documented in the key binding | ||
# section. | ||
|
||
# Allow terminal applications to change Alacritty's window title. | ||
dynamic_title: true | ||
|
||
cursor: | ||
# Cursor style | ||
# | ||
# Values for `style`: | ||
# - ▇ Block | ||
# - _ Underline | ||
# - | Beam | ||
style: Block | ||
|
||
# If this is `true`, the cursor will be rendered as a hollow box when the | ||
# window is not focused. | ||
unfocused_hollow: true | ||
|
||
key_bindings: | ||
- { key: Period, mods: Command, action: Paste } | ||
- { key: V, mods: Command, action: Paste } | ||
- { key: C, mods: Command, action: Copy } | ||
- { key: Q, mods: Command, action: Quit } | ||
- { key: W, mods: Command, action: Quit } | ||
- { key: Home, chars: "\x1bOH", mode: AppCursor } | ||
- { key: Home, chars: "\x1b[1~", mode: ~AppCursor } | ||
- { key: End, chars: "\x1bOF", mode: AppCursor } | ||
- { key: End, chars: "\x1b[4~", mode: ~AppCursor } | ||
- { key: PageUp, mods: Shift, chars: "\x1b[5;2~" } | ||
- { key: PageUp, mods: Control, chars: "\x1b[5;5~" } | ||
- { key: PageUp, chars: "\x1b[5~" } | ||
- { key: PageDown, mods: Shift, chars: "\x1b[6;2~" } | ||
- { key: PageDown, mods: Control, chars: "\x1b[6;5~" } | ||
- { key: PageDown, chars: "\x1b[6~" } | ||
- { key: Left, mods: Shift, chars: "\x1b[1;2D" } | ||
- { key: Left, mods: Control, chars: "\x1b[1;5D" } | ||
- { key: Left, mods: Alt, chars: "\x1b[1;3D" } | ||
- { key: Left, chars: "\x1b[D", mode: ~AppCursor } | ||
- { key: Left, chars: "\x1bOD", mode: AppCursor } | ||
- { key: Right, mods: Shift, chars: "\x1b[1;2C" } | ||
- { key: Right, mods: Control, chars: "\x1b[1;5C" } | ||
- { key: Right, mods: Alt, chars: "\x1b[1;3C" } | ||
- { key: Right, chars: "\x1b[C", mode: ~AppCursor } | ||
- { key: Right, chars: "\x1bOC", mode: AppCursor } | ||
- { key: Up, mods: Shift, chars: "\x1b[1;2A" } | ||
- { key: Up, mods: Control, chars: "\x1b[1;5A" } | ||
- { key: Up, mods: Alt, chars: "\x1b[1;3A" } | ||
- { key: Up, chars: "\x1b[A", mode: ~AppCursor } | ||
- { key: Up, chars: "\x1bOA", mode: AppCursor } | ||
- { key: Down, mods: Shift, chars: "\x1b[1;2B" } | ||
- { key: Down, mods: Control, chars: "\x1b[1;5B" } | ||
- { key: Down, mods: Alt, chars: "\x1b[1;3B" } | ||
- { key: Down, chars: "\x1b[B", mode: ~AppCursor } | ||
- { key: Down, chars: "\x1bOB", mode: AppCursor } | ||
- { key: Tab, mods: Shift, chars: "\x1b[Z" } | ||
- { key: F1, chars: "\x1bOP" } | ||
- { key: F2, chars: "\x1bOQ" } | ||
- { key: F3, chars: "\x1bOR" } | ||
- { key: F4, chars: "\x1bOS" } | ||
- { key: F5, chars: "\x1b[15~" } | ||
- { key: F6, chars: "\x1b[17~" } | ||
- { key: F7, chars: "\x1b[18~" } | ||
- { key: F8, chars: "\x1b[19~" } | ||
- { key: F9, chars: "\x1b[20~" } | ||
- { key: F10, chars: "\x1b[21~" } | ||
- { key: F11, chars: "\x1b[23~" } | ||
- { key: F12, chars: "\x1b[24~" } | ||
- { key: Back, chars: "\x7f" } | ||
- { key: Back, mods: Alt, chars: "\x1b\x7f" } | ||
- { key: Insert, chars: "\x1b[2~" } | ||
- { key: Delete, chars: "\x1b[3~" } | ||
|
||
# Mouse Bindings --------------------------------------------------------------- | ||
mouse_bindings: | ||
- { mouse: Middle, action: PasteSelection } | ||
|
||
mouse: | ||
# Click settings | ||
# | ||
# The `double_click` and `triple_click` settings control the time | ||
# alacritty should wait for accepting multiple clicks as one double | ||
# or triple click. | ||
double_click: { threshold: 300 } | ||
triple_click: { threshold: 300 } | ||
|
||
# If this is `true`, the cursor is temporarily hidden when typing. | ||
hide_when_typing: false | ||
|
||
# url: | ||
# URL launcher | ||
# | ||
# This program is executed when clicking on a text which is recognized as a URL. | ||
# The URL is always added to the command as the last parameter. | ||
# | ||
# Default: | ||
# - (macOS) open | ||
# - (Linux) xdg-open | ||
# - (Windows) explorer | ||
#launcher: xdg-open | ||
# URL modifiers | ||
# | ||
# These are the modifiers that need to be held down for opening URLs when clicking | ||
# on them. The available modifiers are documented in the key binding section. | ||
# modifiers: None | ||
|
||
selection: | ||
semantic_escape_chars: ',│`|:"'' ()[]{}<>' | ||
|
||
# When set to `true`, selected text will be copied to the primary clipboard. | ||
save_to_clipboard: false | ||
|
||
# Other ------------------------------------------------------------------------ | ||
|
||
# Live config reload (changes require restart) | ||
live_config_reload: true | ||
|
||
# Should display the render timer | ||
debug.render_timer: true | ||
|
||
# When true, bold text is drawn using the bright variant of colors. | ||
draw_bold_text_with_bright_colors: false | ||
# visual_bell: | ||
# animation: EaseOutExpo | ||
# duration: 1 | ||
|
||
# Shell | ||
# | ||
# You can set shell.program to the path of your favorite shell, e.g. /bin/fish. | ||
# Entries in shell.args are passed unmodified as arguments to the shell. | ||
# | ||
# shell: | ||
# program: /usr/local/bin/zsh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_size = 2 | ||
indent_style = space | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
# go | ||
[*.go] | ||
indent_style = tab | ||
indent_size = 4 | ||
|
||
# python | ||
[*.{ini,py,py.tpl,rst}] | ||
indent_size = 4 | ||
|
||
# rust | ||
[*.rs] | ||
indent_size = 4 | ||
|
||
# documentation, utils | ||
[*.{md,mdx,diff}] | ||
trim_trailing_whitespace = false | ||
|
||
# windows shell scripts | ||
[*.{cmd,bat,ps1}] | ||
end_of_line = crlf |
Oops, something went wrong.