alacritty config + light and dark themes
This commit is contained in:
commit
d252c537d6
3 changed files with 480 additions and 0 deletions
425
alacritty.toml
Normal file
425
alacritty.toml
Normal file
|
@ -0,0 +1,425 @@
|
|||
live_config_reload = true
|
||||
working_directory = "None"
|
||||
|
||||
import = [
|
||||
"~/.config/alacritty/light.toml"
|
||||
]
|
||||
|
||||
[cursor]
|
||||
thickness = 0.2
|
||||
style = "Block"
|
||||
|
||||
[env]
|
||||
TERM = "alacritty"
|
||||
|
||||
[font]
|
||||
size = 11
|
||||
|
||||
[font.bold]
|
||||
family = "monospace"
|
||||
style = "Bold"
|
||||
|
||||
[font.bold_italic]
|
||||
family = "monospace"
|
||||
style = "Bold Italic"
|
||||
|
||||
[font.glyph_offset]
|
||||
x = 0
|
||||
y = 0
|
||||
|
||||
[font.italic]
|
||||
family = "monospace"
|
||||
style = "Italic"
|
||||
|
||||
[font.normal]
|
||||
family = "Hack Nerd Font"
|
||||
style = "Regular"
|
||||
|
||||
[font.offset]
|
||||
x = 0
|
||||
y = 0
|
||||
|
||||
[[hints.enabled]]
|
||||
command = "xdg-open"
|
||||
post_processing = true
|
||||
regex = "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-<>\"\\s{-}\\^⟨⟩`]+"
|
||||
|
||||
[hints.enabled.mouse]
|
||||
enabled = true
|
||||
mods = "None"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Paste"
|
||||
key = "Paste"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Copy"
|
||||
key = "Copy"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ClearLogNotice"
|
||||
key = "L"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\f"
|
||||
key = "L"
|
||||
mode = "~Vi"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ScrollPageUp"
|
||||
key = "PageUp"
|
||||
mode = "~Alt"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ScrollPageDown"
|
||||
key = "PageDown"
|
||||
mode = "~Alt"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ScrollToTop"
|
||||
key = "Home"
|
||||
mode = "~Alt"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ScrollToBottom"
|
||||
key = "End"
|
||||
mode = "~Alt"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ScrollToBottom"
|
||||
key = "Space"
|
||||
mode = "Vi"
|
||||
mods = "Shift|Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ToggleViMode"
|
||||
key = "S"
|
||||
mods = "Alt"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ClearSelection"
|
||||
key = "Escape"
|
||||
mode = "Vi"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ScrollToBottom"
|
||||
key = "I"
|
||||
mode = "Vi|~Search"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ToggleViMode"
|
||||
key = "I"
|
||||
mode = "Vi|~Search"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ToggleViMode"
|
||||
key = "C"
|
||||
mode = "Vi"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ScrollLineUp"
|
||||
key = "Y"
|
||||
mode = "Vi"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ScrollLineDown"
|
||||
key = "E"
|
||||
mode = "Vi"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ScrollToTop"
|
||||
key = "G"
|
||||
mode = "Vi|~Search"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ScrollToBottom"
|
||||
key = "G"
|
||||
mode = "Vi|~Search"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ScrollPageUp"
|
||||
key = "B"
|
||||
mode = "Vi"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ScrollPageDown"
|
||||
key = "F"
|
||||
mode = "Vi"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ScrollHalfPageUp"
|
||||
key = "U"
|
||||
mode = "Vi"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ScrollHalfPageDown"
|
||||
key = "D"
|
||||
mode = "Vi"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Copy"
|
||||
key = "Y"
|
||||
mode = "Vi|~Search"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ClearSelection"
|
||||
key = "Y"
|
||||
mode = "Vi|~Search"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ClearSelection"
|
||||
key = "Copy"
|
||||
mode = "Vi"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ToggleNormalSelection"
|
||||
key = "V"
|
||||
mode = "Vi|~Search"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ToggleLineSelection"
|
||||
key = "V"
|
||||
mode = "Vi|~Search"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ToggleBlockSelection"
|
||||
key = "V"
|
||||
mode = "Vi"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ToggleSemanticSelection"
|
||||
key = "V"
|
||||
mode = "Vi"
|
||||
mods = "Alt"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Open"
|
||||
key = "Return"
|
||||
mode = "Vi"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Up"
|
||||
key = "K"
|
||||
mode = "Vi|~Search"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Down"
|
||||
key = "J"
|
||||
mode = "Vi|~Search"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Left"
|
||||
key = "H"
|
||||
mode = "Vi|~Search"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Right"
|
||||
key = "L"
|
||||
mode = "Vi|~Search"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Up"
|
||||
key = "Up"
|
||||
mode = "Vi"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Down"
|
||||
key = "Down"
|
||||
mode = "Vi"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Left"
|
||||
key = "Left"
|
||||
mode = "Vi"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Right"
|
||||
key = "Right"
|
||||
mode = "Vi"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "First"
|
||||
key = "Key0"
|
||||
mode = "Vi"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Last"
|
||||
key = "Key4"
|
||||
mode = "Vi"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "FirstOccupied"
|
||||
key = "Key6"
|
||||
mode = "Vi"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "High"
|
||||
key = "H"
|
||||
mode = "Vi|~Search"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Middle"
|
||||
key = "M"
|
||||
mode = "Vi|~Search"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Low"
|
||||
key = "L"
|
||||
mode = "Vi|~Search"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "SemanticLeft"
|
||||
key = "B"
|
||||
mode = "Vi|~Search"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "SemanticRight"
|
||||
key = "W"
|
||||
mode = "Vi|~Search"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "SemanticRightEnd"
|
||||
key = "E"
|
||||
mode = "Vi|~Search"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "WordLeft"
|
||||
key = "B"
|
||||
mode = "Vi|~Search"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "WordRight"
|
||||
key = "W"
|
||||
mode = "Vi|~Search"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "WordRightEnd"
|
||||
key = "E"
|
||||
mode = "Vi|~Search"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Bracket"
|
||||
key = "Key5"
|
||||
mode = "Vi|~Search"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "SearchForward"
|
||||
key = "Slash"
|
||||
mode = "Vi"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "SearchBackward"
|
||||
key = "Slash"
|
||||
mode = "Vi"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "SearchNext"
|
||||
key = "N"
|
||||
mode = "Vi|~Search"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "SearchPrevious"
|
||||
key = "N"
|
||||
mode = "Vi|~Search"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Paste"
|
||||
key = "V"
|
||||
mods = "Control|Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "Copy"
|
||||
key = "C"
|
||||
mods = "Control|Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "SearchForward"
|
||||
key = "F"
|
||||
mods = "Control|Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "SearchBackward"
|
||||
key = "B"
|
||||
mods = "Control|Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ClearSelection"
|
||||
key = "C"
|
||||
mode = "Vi"
|
||||
mods = "Control|Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "PasteSelection"
|
||||
key = "Insert"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "ResetFontSize"
|
||||
key = "Key0"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "IncreaseFontSize"
|
||||
key = "Equals"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "IncreaseFontSize"
|
||||
key = "Plus"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
action = "DecreaseFontSize"
|
||||
key = "Minus"
|
||||
mods = "Control"
|
||||
|
||||
[mouse]
|
||||
hide_when_typing = false
|
||||
|
||||
[[mouse.bindings]]
|
||||
action = "PasteSelection"
|
||||
mouse = "Middle"
|
||||
|
||||
[scrolling]
|
||||
history = 100000
|
||||
|
||||
[selection]
|
||||
save_to_clipboard = true
|
||||
semantic_escape_chars = ",│`|:\"' ()[]{}<>\t"
|
||||
|
||||
[shell]
|
||||
args = ["--login"]
|
||||
program = "/bin/bash"
|
||||
|
||||
[window]
|
||||
decorations = "full"
|
||||
dynamic_padding = false
|
||||
dynamic_title = true
|
||||
opacity = 1
|
32
dark.toml
Normal file
32
dark.toml
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Colors (Tomorrow Night)
|
||||
|
||||
# Default colors
|
||||
[colors.primary]
|
||||
background = '#1d1f21'
|
||||
foreground = '#c5c8c6'
|
||||
|
||||
[colors.cursor]
|
||||
text = '#1d1f21'
|
||||
cursor = '#ffffff'
|
||||
|
||||
# Normal colors
|
||||
[colors.normal]
|
||||
black = '#1d1f21'
|
||||
red = '#cc6666'
|
||||
green = '#7ea400'
|
||||
yellow = '#e6c547'
|
||||
blue = '#81a2be'
|
||||
magenta = '#b294bb'
|
||||
cyan = '#000000'
|
||||
white = '#373b41'
|
||||
|
||||
# Bright colors
|
||||
[colors.bright]
|
||||
black = '#666666'
|
||||
red = '#ff3334'
|
||||
green = '#7ea400'
|
||||
yellow = '#f0c674'
|
||||
blue = '#81a2be'
|
||||
magenta = '#b77ee0'
|
||||
cyan = '#54ced6'
|
||||
white = '#282a2e'
|
23
light.toml
Normal file
23
light.toml
Normal file
|
@ -0,0 +1,23 @@
|
|||
[colors.primary]
|
||||
background = '#ffffff'
|
||||
foreground = '#000000'
|
||||
|
||||
[colors.normal]
|
||||
black = '#000000'
|
||||
red = '#d02e26'
|
||||
green = '#447b01'
|
||||
yellow = '#bb8914'
|
||||
blue = '#2d6ec1'
|
||||
magenta = '#a00095'
|
||||
cyan = '#00866d'
|
||||
white = '#bbbbbb'
|
||||
|
||||
[colors.bright]
|
||||
black = '#000000'
|
||||
red = '#de3d35'
|
||||
green = '#3e953a'
|
||||
yellow = '#d2b67b'
|
||||
blue = '#2f5af3'
|
||||
magenta = '#a00095'
|
||||
cyan = '#3e953a'
|
||||
white = '#ffffff'
|
Loading…
Reference in a new issue