Delete Kitty, Starship and Vim
This commit is contained in:
@@ -20,15 +20,13 @@ Each directory in this repository corresponds to a specific application or tool,
|
|||||||
This repository contains my configuration files for the following tools:
|
This repository contains my configuration files for the following tools:
|
||||||
|
|
||||||
- **Shells & Prompt**
|
- **Shells & Prompt**
|
||||||
- `zsh` + `starship`
|
- `zsh`
|
||||||
- **Terminal Emulator & Multiplexer**
|
- **Terminal Emulator & Multiplexer**
|
||||||
- `foot`
|
- `foot`
|
||||||
- `kitty`
|
|
||||||
- `tmux`
|
- `tmux`
|
||||||
- **Editors & CLI Tools**
|
- **Editors & CLI Tools**
|
||||||
- `neovim` (with LazyVim)
|
- `neovim` (with LazyVim)
|
||||||
- `vim`
|
- `vim`
|
||||||
- `bat`
|
|
||||||
- `git`
|
- `git`
|
||||||
- `lazygit`
|
- `lazygit`
|
||||||
- **Wayland Environment**
|
- **Wayland Environment**
|
||||||
|
|||||||
@@ -1,59 +0,0 @@
|
|||||||
import tempfile
|
|
||||||
import os
|
|
||||||
|
|
||||||
from shutil import which
|
|
||||||
from typing import List
|
|
||||||
from kitty.boss import Boss
|
|
||||||
|
|
||||||
|
|
||||||
ENABLED_LAYOUTS = [
|
|
||||||
'fat',
|
|
||||||
'grid',
|
|
||||||
'horizontal',
|
|
||||||
'splits',
|
|
||||||
'stack',
|
|
||||||
'tall',
|
|
||||||
'vertical',
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
def fzf(choices: List[str], delimiter='\n'):
|
|
||||||
exe = which("fzf")
|
|
||||||
if not exe:
|
|
||||||
raise SystemError(f"Cannot find 'fzf' installed on $PATH.")
|
|
||||||
|
|
||||||
shell = which("zsh") or os.environ.get("SHELL")
|
|
||||||
if not shell:
|
|
||||||
raise SystemError(f"Cannot find a $SHELL to use.")
|
|
||||||
|
|
||||||
selection = []
|
|
||||||
with tempfile.NamedTemporaryFile(delete=True) as input_file:
|
|
||||||
with tempfile.NamedTemporaryFile(delete=True) as output_file:
|
|
||||||
input_file.write(delimiter.join(map(str, choices)).encode('utf-8'))
|
|
||||||
input_file.flush()
|
|
||||||
os.system(f"{shell} -c '{exe} --reverse < \"{input_file.name}\" > \"{output_file.name}\"'")
|
|
||||||
for line in output_file:
|
|
||||||
selection.append(line.strip().decode("utf-8"))
|
|
||||||
|
|
||||||
return selection
|
|
||||||
|
|
||||||
|
|
||||||
def main(args: List[str]) -> str:
|
|
||||||
fzf_path = os.path.join(os.environ["HOME"], ".fzf/bin")
|
|
||||||
os.environ["PATH"] += f":{fzf_path}"
|
|
||||||
|
|
||||||
result = fzf(ENABLED_LAYOUTS)
|
|
||||||
if len(result) > 0:
|
|
||||||
return result[0]
|
|
||||||
|
|
||||||
return ""
|
|
||||||
|
|
||||||
|
|
||||||
def handle_result(args: List[str], answer: str, target_window_id: int, boss: Boss) -> None:
|
|
||||||
try:
|
|
||||||
window = boss.window_id_map.get(target_window_id)
|
|
||||||
tab = boss.tab_for_window(window)
|
|
||||||
tab.goto_layout(answer)
|
|
||||||
|
|
||||||
except Exception:
|
|
||||||
pass
|
|
||||||
@@ -1,89 +0,0 @@
|
|||||||
# vim:ft=kitty foldmethod=marker
|
|
||||||
|
|
||||||
kitty_mod ctrl+shift
|
|
||||||
|
|
||||||
scrollback_lines 10000
|
|
||||||
|
|
||||||
# UI {{{1
|
|
||||||
|
|
||||||
# Theme
|
|
||||||
include themes/mocha.conf
|
|
||||||
|
|
||||||
# Window layout
|
|
||||||
remember_window_size no
|
|
||||||
initial_window_width 160c
|
|
||||||
initial_window_height 45c
|
|
||||||
|
|
||||||
# Tab bar
|
|
||||||
tab_bar_min_tabs 1
|
|
||||||
tab_bar_edge bottom
|
|
||||||
tab_bar_style powerline
|
|
||||||
tab_powerline_style slanted
|
|
||||||
tab_title_template {title}{' :{}:'.format(num_windows) if num_windows > 1 else ''}
|
|
||||||
|
|
||||||
# Fonts
|
|
||||||
font_size 14.0
|
|
||||||
font_family FiraCode Nerd Font
|
|
||||||
|
|
||||||
# Cursor
|
|
||||||
cursor_shape beam
|
|
||||||
cursor_shape_unfocused hollow
|
|
||||||
cursor_beam_thickness 3
|
|
||||||
cursor_blink_interval 1
|
|
||||||
shell_integration no-cursor no-title
|
|
||||||
|
|
||||||
# Color scheme
|
|
||||||
background_opacity 0.90
|
|
||||||
background_blur 64
|
|
||||||
background_image none
|
|
||||||
dynamic_background_opacity yes
|
|
||||||
|
|
||||||
# vim-kitty-navigator {{{1
|
|
||||||
allow_remote_control yes
|
|
||||||
listen_on unix:/tmp/mykitty
|
|
||||||
|
|
||||||
# Keyboard shortcuts
|
|
||||||
|
|
||||||
copy_on_select yes
|
|
||||||
|
|
||||||
macos_option_as_alt yes
|
|
||||||
|
|
||||||
# Zoom on a window just like in tmux
|
|
||||||
map kitty_mod+a toggle_layout stack
|
|
||||||
|
|
||||||
# Open tabs and windows in the same folder
|
|
||||||
map kitty_mod+enter new_window_with_cwd
|
|
||||||
map cmd+enter new_window_with_cwd
|
|
||||||
map kitty_mod+t new_tab_with_cwd
|
|
||||||
map cmd+t new_tab_with_cwd
|
|
||||||
|
|
||||||
# Move a window into a new tab
|
|
||||||
map kitty_mod+x detach_window new-tab
|
|
||||||
|
|
||||||
# tmux {{{1
|
|
||||||
|
|
||||||
# Jump to tabs
|
|
||||||
map ctrl+a>1 goto_tab 4
|
|
||||||
map ctrl+a>2 goto_tab 2
|
|
||||||
map ctrl+a>3 goto_tab 3
|
|
||||||
map ctrl+a>4 goto_tab 4
|
|
||||||
map ctrl+a>5 goto_tab 5
|
|
||||||
map ctrl+a>6 goto_tab 6
|
|
||||||
map ctrl+a>7 goto_tab 7
|
|
||||||
map ctrl+a>8 goto_tab 8
|
|
||||||
map ctrl+a>9 goto_tab 9
|
|
||||||
map ctrl+a>0 goto_tab 0
|
|
||||||
# Move a window into a new tab
|
|
||||||
map ctrl+a>! detach_window new-tab
|
|
||||||
# Open a new window
|
|
||||||
map ctrl+a>o new_window_with_cwd
|
|
||||||
# Open a new tab
|
|
||||||
map ctrl+a>c new_tab_with_cwd
|
|
||||||
# Zoom on a window
|
|
||||||
map ctrl+a>z toggle_layout stack
|
|
||||||
# Change layout
|
|
||||||
map ctrl+a>space next_layout
|
|
||||||
# Choose layout
|
|
||||||
map ctrl+a>l kitten choose_layout.py
|
|
||||||
|
|
||||||
# }}}
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
# vim:ft=kitty
|
|
||||||
|
|
||||||
## name: Adwaita dark
|
|
||||||
## license: MIT
|
|
||||||
## author: Emil Löfquist (https://github.com/ewal)
|
|
||||||
## upstream: https://github.com/ewal/kitty-adwaita/blob/main/adwaita_dark.conf
|
|
||||||
## blurb: Adwaita dark - based on https://github.com/Mofiqul/adwaita.nvim
|
|
||||||
|
|
||||||
background #1d1d1d
|
|
||||||
foreground #deddda
|
|
||||||
|
|
||||||
selection_background #303030
|
|
||||||
selection_foreground #c0bfbc
|
|
||||||
|
|
||||||
url_color #1a5fb4
|
|
||||||
|
|
||||||
wayland_titlebar_color system
|
|
||||||
macos_titlebar_color system
|
|
||||||
|
|
||||||
cursor #deddda
|
|
||||||
cursor_text_color #1d1d1d
|
|
||||||
|
|
||||||
active_border_color #4f4f4f
|
|
||||||
inactive_border_color #282828
|
|
||||||
bell_border_color #ed333b
|
|
||||||
visual_bell_color none
|
|
||||||
|
|
||||||
active_tab_background #242424
|
|
||||||
active_tab_foreground #fcfcfc
|
|
||||||
inactive_tab_background #303030
|
|
||||||
inactive_tab_foreground #b0afac
|
|
||||||
tab_bar_background none
|
|
||||||
tab_bar_margin_color none
|
|
||||||
|
|
||||||
color0 #1d1d1d
|
|
||||||
color1 #ed333b
|
|
||||||
color2 #57e389
|
|
||||||
color3 #ff7800
|
|
||||||
color4 #62a0ea
|
|
||||||
color5 #9141ac
|
|
||||||
color6 #5bc8af
|
|
||||||
color7 #deddda
|
|
||||||
|
|
||||||
color8 #9a9996
|
|
||||||
color9 #f66151
|
|
||||||
color10 #8ff0a4
|
|
||||||
color11 #ffa348
|
|
||||||
color12 #99c1f1
|
|
||||||
color13 #dc8add
|
|
||||||
color14 #93ddc2
|
|
||||||
color15 #f6f5f4
|
|
||||||
@@ -1,80 +0,0 @@
|
|||||||
# vim:ft=kitty
|
|
||||||
|
|
||||||
## name: Catppuccin Kitty Frappé
|
|
||||||
## author: Catppuccin Org
|
|
||||||
## license: MIT
|
|
||||||
## upstream: https://github.com/catppuccin/kitty/blob/main/themes/frappe.conf
|
|
||||||
## blurb: Soothing pastel theme for the high-spirited!
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# The basic colors
|
|
||||||
foreground #c6d0f5
|
|
||||||
background #303446
|
|
||||||
selection_foreground #303446
|
|
||||||
selection_background #f2d5cf
|
|
||||||
|
|
||||||
# Cursor colors
|
|
||||||
cursor #f2d5cf
|
|
||||||
cursor_text_color #303446
|
|
||||||
|
|
||||||
# URL underline color when hovering with mouse
|
|
||||||
url_color #f2d5cf
|
|
||||||
|
|
||||||
# Kitty window border colors
|
|
||||||
active_border_color #babbf1
|
|
||||||
inactive_border_color #737994
|
|
||||||
bell_border_color #e5c890
|
|
||||||
|
|
||||||
# OS Window titlebar colors
|
|
||||||
wayland_titlebar_color system
|
|
||||||
macos_titlebar_color system
|
|
||||||
|
|
||||||
# Tab bar colors
|
|
||||||
active_tab_foreground #232634
|
|
||||||
active_tab_background #ca9ee6
|
|
||||||
inactive_tab_foreground #c6d0f5
|
|
||||||
inactive_tab_background #292c3c
|
|
||||||
tab_bar_background #232634
|
|
||||||
|
|
||||||
# Colors for marks (marked text in the terminal)
|
|
||||||
mark1_foreground #303446
|
|
||||||
mark1_background #babbf1
|
|
||||||
mark2_foreground #303446
|
|
||||||
mark2_background #ca9ee6
|
|
||||||
mark3_foreground #303446
|
|
||||||
mark3_background #85c1dc
|
|
||||||
|
|
||||||
# The 16 terminal colors
|
|
||||||
|
|
||||||
# black
|
|
||||||
color0 #51576d
|
|
||||||
color8 #626880
|
|
||||||
|
|
||||||
# red
|
|
||||||
color1 #e78284
|
|
||||||
color9 #e78284
|
|
||||||
|
|
||||||
# green
|
|
||||||
color2 #a6d189
|
|
||||||
color10 #a6d189
|
|
||||||
|
|
||||||
# yellow
|
|
||||||
color3 #e5c890
|
|
||||||
color11 #e5c890
|
|
||||||
|
|
||||||
# blue
|
|
||||||
color4 #8caaee
|
|
||||||
color12 #8caaee
|
|
||||||
|
|
||||||
# magenta
|
|
||||||
color5 #f4b8e4
|
|
||||||
color13 #f4b8e4
|
|
||||||
|
|
||||||
# cyan
|
|
||||||
color6 #81c8be
|
|
||||||
color14 #81c8be
|
|
||||||
|
|
||||||
# white
|
|
||||||
color7 #b5bfe2
|
|
||||||
color15 #a5adce
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
# Based on https://github.com/morhetz/gruvbox by morhetz <morhetz@gmail.com>
|
|
||||||
# Adapted to kitty by wdomitrz <witekdomitrz@gmail.com>
|
|
||||||
|
|
||||||
cursor #928374
|
|
||||||
cursor_text_color background
|
|
||||||
|
|
||||||
url_color #83a598
|
|
||||||
|
|
||||||
visual_bell_color #8ec07c
|
|
||||||
bell_border_color #8ec07c
|
|
||||||
|
|
||||||
active_border_color #d3869b
|
|
||||||
inactive_border_color #665c54
|
|
||||||
|
|
||||||
foreground #ebdbb2
|
|
||||||
background #282828
|
|
||||||
selection_foreground #928374
|
|
||||||
selection_background #ebdbb2
|
|
||||||
|
|
||||||
active_tab_foreground #fbf1c7
|
|
||||||
active_tab_background #665c54
|
|
||||||
inactive_tab_foreground #a89984
|
|
||||||
inactive_tab_background #3c3836
|
|
||||||
|
|
||||||
# black (bg3/bg4)
|
|
||||||
color0 #665c54
|
|
||||||
color8 #7c6f64
|
|
||||||
|
|
||||||
# red
|
|
||||||
color1 #cc241d
|
|
||||||
color9 #fb4934
|
|
||||||
|
|
||||||
#: green
|
|
||||||
color2 #98971a
|
|
||||||
color10 #b8bb26
|
|
||||||
|
|
||||||
# yellow
|
|
||||||
color3 #d79921
|
|
||||||
color11 #fabd2f
|
|
||||||
|
|
||||||
# blue
|
|
||||||
color4 #458588
|
|
||||||
color12 #83a598
|
|
||||||
|
|
||||||
# purple
|
|
||||||
color5 #b16286
|
|
||||||
color13 #d3869b
|
|
||||||
|
|
||||||
# aqua
|
|
||||||
color6 #689d6a
|
|
||||||
color14 #8ec07c
|
|
||||||
|
|
||||||
# white (fg4/fg3)
|
|
||||||
color7 #a89984
|
|
||||||
color15 #bdae93
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
include gruvbox_dark.conf
|
|
||||||
|
|
||||||
background #1d2021
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
include gruvbox_dark.conf
|
|
||||||
|
|
||||||
background #32302f
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
# Based on https://github.com/morhetz/gruvbox by morhetz <morhetz@gmail.com>
|
|
||||||
# Adapted to kitty by wdomitrz <witekdomitrz@gmail.com>
|
|
||||||
|
|
||||||
cursor #928374
|
|
||||||
cursor_text_color background
|
|
||||||
|
|
||||||
url_color #458588
|
|
||||||
|
|
||||||
visual_bell_color #689d6a
|
|
||||||
bell_border_color #689d6a
|
|
||||||
|
|
||||||
active_border_color #b16286
|
|
||||||
inactive_border_color #1d2021
|
|
||||||
|
|
||||||
foreground #3c3836
|
|
||||||
background #fbf1c7
|
|
||||||
selection_foreground #928374
|
|
||||||
selection_background #3c3836
|
|
||||||
|
|
||||||
active_tab_foreground #282828
|
|
||||||
active_tab_background #928374
|
|
||||||
inactive_tab_foreground #7c6f64
|
|
||||||
inactive_tab_background #ebdbb2
|
|
||||||
|
|
||||||
# white (bg3/bg4)
|
|
||||||
color0 #bdae93
|
|
||||||
color8 #a89984
|
|
||||||
|
|
||||||
# red
|
|
||||||
color1 #cc241d
|
|
||||||
color9 #9d0006
|
|
||||||
|
|
||||||
# green
|
|
||||||
color2 #98971a
|
|
||||||
color10 #79740e
|
|
||||||
|
|
||||||
# yellow
|
|
||||||
color3 #d79921
|
|
||||||
color11 #b57614
|
|
||||||
|
|
||||||
# blue
|
|
||||||
color4 #458588
|
|
||||||
color12 #076678
|
|
||||||
|
|
||||||
# purple
|
|
||||||
color5 #b16286
|
|
||||||
color13 #8f3f71
|
|
||||||
|
|
||||||
# aqua
|
|
||||||
color6 #689d6a
|
|
||||||
color14 #427b58
|
|
||||||
|
|
||||||
# black (fg4/fg3)
|
|
||||||
color7 #7c6f64
|
|
||||||
color15 #665c54
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
include gruvbox_light.conf
|
|
||||||
|
|
||||||
background #f9f5d7
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
include gruvbox_light.conf
|
|
||||||
|
|
||||||
background #f2e5bc
|
|
||||||
@@ -1,80 +0,0 @@
|
|||||||
# vim:ft=kitty
|
|
||||||
|
|
||||||
## name: Catppuccin Kitty Latte
|
|
||||||
## author: Catppuccin Org
|
|
||||||
## license: MIT
|
|
||||||
## upstream: https://github.com/catppuccin/kitty/blob/main/themes/latte.conf
|
|
||||||
## blurb: Soothing pastel theme for the high-spirited!
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# The basic colors
|
|
||||||
foreground #4c4f69
|
|
||||||
background #eff1f5
|
|
||||||
selection_foreground #eff1f5
|
|
||||||
selection_background #dc8a78
|
|
||||||
|
|
||||||
# Cursor colors
|
|
||||||
cursor #dc8a78
|
|
||||||
cursor_text_color #eff1f5
|
|
||||||
|
|
||||||
# URL underline color when hovering with mouse
|
|
||||||
url_color #dc8a78
|
|
||||||
|
|
||||||
# Kitty window border colors
|
|
||||||
active_border_color #7287fd
|
|
||||||
inactive_border_color #9ca0b0
|
|
||||||
bell_border_color #df8e1d
|
|
||||||
|
|
||||||
# OS Window titlebar colors
|
|
||||||
wayland_titlebar_color system
|
|
||||||
macos_titlebar_color system
|
|
||||||
|
|
||||||
# Tab bar colors
|
|
||||||
active_tab_foreground #eff1f5
|
|
||||||
active_tab_background #8839ef
|
|
||||||
inactive_tab_foreground #4c4f69
|
|
||||||
inactive_tab_background #9ca0b0
|
|
||||||
tab_bar_background #bcc0cc
|
|
||||||
|
|
||||||
# Colors for marks (marked text in the terminal)
|
|
||||||
mark1_foreground #eff1f5
|
|
||||||
mark1_background #7287fd
|
|
||||||
mark2_foreground #eff1f5
|
|
||||||
mark2_background #8839ef
|
|
||||||
mark3_foreground #eff1f5
|
|
||||||
mark3_background #209fb5
|
|
||||||
|
|
||||||
# The 16 terminal colors
|
|
||||||
|
|
||||||
# black
|
|
||||||
color0 #5c5f77
|
|
||||||
color8 #6c6f85
|
|
||||||
|
|
||||||
# red
|
|
||||||
color1 #d20f39
|
|
||||||
color9 #d20f39
|
|
||||||
|
|
||||||
# green
|
|
||||||
color2 #40a02b
|
|
||||||
color10 #40a02b
|
|
||||||
|
|
||||||
# yellow
|
|
||||||
color3 #df8e1d
|
|
||||||
color11 #df8e1d
|
|
||||||
|
|
||||||
# blue
|
|
||||||
color4 #1e66f5
|
|
||||||
color12 #1e66f5
|
|
||||||
|
|
||||||
# magenta
|
|
||||||
color5 #ea76cb
|
|
||||||
color13 #ea76cb
|
|
||||||
|
|
||||||
# cyan
|
|
||||||
color6 #179299
|
|
||||||
color14 #179299
|
|
||||||
|
|
||||||
# white
|
|
||||||
color7 #acb0be
|
|
||||||
color15 #bcc0cc
|
|
||||||
@@ -1,80 +0,0 @@
|
|||||||
# vim:ft=kitty
|
|
||||||
|
|
||||||
## name: Catppuccin Kitty Macchiato
|
|
||||||
## author: Catppuccin Org
|
|
||||||
## license: MIT
|
|
||||||
## upstream: https://github.com/catppuccin/kitty/blob/main/themes/macchiato.conf
|
|
||||||
## blurb: Soothing pastel theme for the high-spirited!
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# The basic colors
|
|
||||||
foreground #cad3f5
|
|
||||||
background #24273a
|
|
||||||
selection_foreground #24273a
|
|
||||||
selection_background #f4dbd6
|
|
||||||
|
|
||||||
# Cursor colors
|
|
||||||
cursor #f4dbd6
|
|
||||||
cursor_text_color #24273a
|
|
||||||
|
|
||||||
# URL underline color when hovering with mouse
|
|
||||||
url_color #f4dbd6
|
|
||||||
|
|
||||||
# Kitty window border colors
|
|
||||||
active_border_color #b7bdf8
|
|
||||||
inactive_border_color #6e738d
|
|
||||||
bell_border_color #eed49f
|
|
||||||
|
|
||||||
# OS Window titlebar colors
|
|
||||||
wayland_titlebar_color system
|
|
||||||
macos_titlebar_color system
|
|
||||||
|
|
||||||
# Tab bar colors
|
|
||||||
active_tab_foreground #181926
|
|
||||||
active_tab_background #c6a0f6
|
|
||||||
inactive_tab_foreground #cad3f5
|
|
||||||
inactive_tab_background #1e2030
|
|
||||||
tab_bar_background #181926
|
|
||||||
|
|
||||||
# Colors for marks (marked text in the terminal)
|
|
||||||
mark1_foreground #24273a
|
|
||||||
mark1_background #b7bdf8
|
|
||||||
mark2_foreground #24273a
|
|
||||||
mark2_background #c6a0f6
|
|
||||||
mark3_foreground #24273a
|
|
||||||
mark3_background #7dc4e4
|
|
||||||
|
|
||||||
# The 16 terminal colors
|
|
||||||
|
|
||||||
# black
|
|
||||||
color0 #494d64
|
|
||||||
color8 #5b6078
|
|
||||||
|
|
||||||
# red
|
|
||||||
color1 #ed8796
|
|
||||||
color9 #ed8796
|
|
||||||
|
|
||||||
# green
|
|
||||||
color2 #a6da95
|
|
||||||
color10 #a6da95
|
|
||||||
|
|
||||||
# yellow
|
|
||||||
color3 #eed49f
|
|
||||||
color11 #eed49f
|
|
||||||
|
|
||||||
# blue
|
|
||||||
color4 #8aadf4
|
|
||||||
color12 #8aadf4
|
|
||||||
|
|
||||||
# magenta
|
|
||||||
color5 #f5bde6
|
|
||||||
color13 #f5bde6
|
|
||||||
|
|
||||||
# cyan
|
|
||||||
color6 #8bd5ca
|
|
||||||
color14 #8bd5ca
|
|
||||||
|
|
||||||
# white
|
|
||||||
color7 #b8c0e0
|
|
||||||
color15 #a5adcb
|
|
||||||
@@ -1,80 +0,0 @@
|
|||||||
# vim:ft=kitty
|
|
||||||
|
|
||||||
## name: Catppuccin Kitty Mocha
|
|
||||||
## author: Catppuccin Org
|
|
||||||
## license: MIT
|
|
||||||
## upstream: https://github.com/catppuccin/kitty/blob/main/themes/mocha.conf
|
|
||||||
## blurb: Soothing pastel theme for the high-spirited!
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# The basic colors
|
|
||||||
foreground #cdd6f4
|
|
||||||
background #1e1e2e
|
|
||||||
selection_foreground #1e1e2e
|
|
||||||
selection_background #f5e0dc
|
|
||||||
|
|
||||||
# Cursor colors
|
|
||||||
cursor #f5e0dc
|
|
||||||
cursor_text_color #1e1e2e
|
|
||||||
|
|
||||||
# URL underline color when hovering with mouse
|
|
||||||
url_color #f5e0dc
|
|
||||||
|
|
||||||
# Kitty window border colors
|
|
||||||
active_border_color #b4befe
|
|
||||||
inactive_border_color #6c7086
|
|
||||||
bell_border_color #f9e2af
|
|
||||||
|
|
||||||
# OS Window titlebar colors
|
|
||||||
wayland_titlebar_color system
|
|
||||||
macos_titlebar_color system
|
|
||||||
|
|
||||||
# Tab bar colors
|
|
||||||
active_tab_foreground #11111b
|
|
||||||
active_tab_background #cba6f7
|
|
||||||
inactive_tab_foreground #cdd6f4
|
|
||||||
inactive_tab_background #181825
|
|
||||||
tab_bar_background #11111b
|
|
||||||
|
|
||||||
# Colors for marks (marked text in the terminal)
|
|
||||||
mark1_foreground #1e1e2e
|
|
||||||
mark1_background #b4befe
|
|
||||||
mark2_foreground #1e1e2e
|
|
||||||
mark2_background #cba6f7
|
|
||||||
mark3_foreground #1e1e2e
|
|
||||||
mark3_background #74c7ec
|
|
||||||
|
|
||||||
# The 16 terminal colors
|
|
||||||
|
|
||||||
# black
|
|
||||||
color0 #45475a
|
|
||||||
color8 #585b70
|
|
||||||
|
|
||||||
# red
|
|
||||||
color1 #f38ba8
|
|
||||||
color9 #f38ba8
|
|
||||||
|
|
||||||
# green
|
|
||||||
color2 #a6e3a1
|
|
||||||
color10 #a6e3a1
|
|
||||||
|
|
||||||
# yellow
|
|
||||||
color3 #f9e2af
|
|
||||||
color11 #f9e2af
|
|
||||||
|
|
||||||
# blue
|
|
||||||
color4 #89b4fa
|
|
||||||
color12 #89b4fa
|
|
||||||
|
|
||||||
# magenta
|
|
||||||
color5 #f5c2e7
|
|
||||||
color13 #f5c2e7
|
|
||||||
|
|
||||||
# cyan
|
|
||||||
color6 #94e2d5
|
|
||||||
color14 #94e2d5
|
|
||||||
|
|
||||||
# white
|
|
||||||
color7 #bac2de
|
|
||||||
color15 #a6adc8
|
|
||||||
@@ -1,391 +0,0 @@
|
|||||||
format = """
|
|
||||||
$username\
|
|
||||||
$directory\
|
|
||||||
$vcsh\
|
|
||||||
$git_branch\
|
|
||||||
$git_commit\
|
|
||||||
$git_state\
|
|
||||||
$git_metrics\
|
|
||||||
$git_status\
|
|
||||||
$hg_branch\
|
|
||||||
$package\
|
|
||||||
$bun\
|
|
||||||
$c\
|
|
||||||
$cmake\
|
|
||||||
$elixir\
|
|
||||||
$erlang\
|
|
||||||
$gleam\
|
|
||||||
$golang\
|
|
||||||
$gradle\
|
|
||||||
$haskell\
|
|
||||||
$haxe\
|
|
||||||
$helm\
|
|
||||||
$java\
|
|
||||||
$kotlin\
|
|
||||||
$lua\
|
|
||||||
$nodejs\
|
|
||||||
$ocaml\
|
|
||||||
$perl\
|
|
||||||
$php\
|
|
||||||
$python\
|
|
||||||
$ruby\
|
|
||||||
$rust\
|
|
||||||
$scala\
|
|
||||||
$swift\
|
|
||||||
$terraform\
|
|
||||||
$vagrant\
|
|
||||||
$zig\
|
|
||||||
$docker_context\
|
|
||||||
$buf\
|
|
||||||
$guix_shell\
|
|
||||||
$nix_shell\
|
|
||||||
$conda\
|
|
||||||
$meson\
|
|
||||||
$spack\
|
|
||||||
$memory_usage\
|
|
||||||
$direnv\
|
|
||||||
$env_var\
|
|
||||||
$custom\
|
|
||||||
$sudo\
|
|
||||||
$cmd_duration\
|
|
||||||
$line_break\
|
|
||||||
$time\
|
|
||||||
$status\
|
|
||||||
$container\
|
|
||||||
$os\
|
|
||||||
$shell\
|
|
||||||
$character
|
|
||||||
"""
|
|
||||||
|
|
||||||
right_format = """
|
|
||||||
$localip\
|
|
||||||
$shlvl\
|
|
||||||
$kubernetes\
|
|
||||||
$aws\
|
|
||||||
$gcloud\
|
|
||||||
$openstack\
|
|
||||||
$azure
|
|
||||||
"""
|
|
||||||
|
|
||||||
# Sets user-defined palette
|
|
||||||
palette = "catppuccin_mocha"
|
|
||||||
|
|
||||||
# palette tables should be last in the config ⚓️
|
|
||||||
[palettes.catppuccin_macchiato]
|
|
||||||
rosewater = "#f4dbd6"
|
|
||||||
flamingo = "#f0c6c6"
|
|
||||||
pink = "#f5bde6"
|
|
||||||
mauve = "#c6a0f6"
|
|
||||||
red = "#ed8796"
|
|
||||||
maroon = "#ee99a0"
|
|
||||||
peach = "#f5a97f"
|
|
||||||
yellow = "#eed49f"
|
|
||||||
green = "#a6da95"
|
|
||||||
teal = "#8bd5ca"
|
|
||||||
sky = "#91d7e3"
|
|
||||||
sapphire = "#7dc4e4"
|
|
||||||
blue = "#8aadf4"
|
|
||||||
lavender = "#b7bdf8"
|
|
||||||
text = "#cad3f5"
|
|
||||||
subtext1 = "#b8c0e0"
|
|
||||||
subtext0 = "#a5adcb"
|
|
||||||
overlay2 = "#939ab7"
|
|
||||||
overlay1 = "#8087a2"
|
|
||||||
overlay0 = "#6e738d"
|
|
||||||
surface2 = "#5b6078"
|
|
||||||
surface1 = "#494d64"
|
|
||||||
surface0 = "#363a4f"
|
|
||||||
base = "#24273a"
|
|
||||||
mantle = "#1e2030"
|
|
||||||
crust = "#181926"
|
|
||||||
|
|
||||||
[palettes.catppuccin_frappe]
|
|
||||||
rosewater = "#f2d5cf"
|
|
||||||
flamingo = "#eebebe"
|
|
||||||
pink = "#f4b8e4"
|
|
||||||
mauve = "#ca9ee6"
|
|
||||||
red = "#e78284"
|
|
||||||
maroon = "#ea999c"
|
|
||||||
peach = "#ef9f76"
|
|
||||||
yellow = "#e5c890"
|
|
||||||
green = "#a6d189"
|
|
||||||
teal = "#81c8be"
|
|
||||||
sky = "#99d1db"
|
|
||||||
sapphire = "#85c1dc"
|
|
||||||
blue = "#8caaee"
|
|
||||||
lavender = "#babbf1"
|
|
||||||
text = "#c6d0f5"
|
|
||||||
subtext1 = "#b5bfe2"
|
|
||||||
subtext0 = "#a5adce"
|
|
||||||
overlay2 = "#949cbb"
|
|
||||||
overlay1 = "#838ba7"
|
|
||||||
overlay0 = "#737994"
|
|
||||||
surface2 = "#626880"
|
|
||||||
surface1 = "#51576d"
|
|
||||||
surface0 = "#414559"
|
|
||||||
base = "#303446"
|
|
||||||
mantle = "#292c3c"
|
|
||||||
crust = "#232634"
|
|
||||||
|
|
||||||
[palettes.catppuccin_latte]
|
|
||||||
rosewater = "#dc8a78"
|
|
||||||
flamingo = "#dd7878"
|
|
||||||
pink = "#ea76cb"
|
|
||||||
mauve = "#8839ef"
|
|
||||||
red = "#d20f39"
|
|
||||||
maroon = "#e64553"
|
|
||||||
peach = "#fe640b"
|
|
||||||
yellow = "#df8e1d"
|
|
||||||
green = "#40a02b"
|
|
||||||
teal = "#179299"
|
|
||||||
sky = "#04a5e5"
|
|
||||||
sapphire = "#209fb5"
|
|
||||||
blue = "#1e66f5"
|
|
||||||
lavender = "#7287fd"
|
|
||||||
text = "#4c4f69"
|
|
||||||
subtext1 = "#5c5f77"
|
|
||||||
subtext0 = "#6c6f85"
|
|
||||||
overlay2 = "#7c7f93"
|
|
||||||
overlay1 = "#8c8fa1"
|
|
||||||
overlay0 = "#9ca0b0"
|
|
||||||
surface2 = "#acb0be"
|
|
||||||
surface1 = "#bcc0cc"
|
|
||||||
surface0 = "#ccd0da"
|
|
||||||
base = "#eff1f5"
|
|
||||||
mantle = "#e6e9ef"
|
|
||||||
crust = "#dce0e8"
|
|
||||||
|
|
||||||
[palettes.catppuccin_mocha]
|
|
||||||
rosewater = "#f5e0dc"
|
|
||||||
flamingo = "#f2cdcd"
|
|
||||||
pink = "#f5c2e7"
|
|
||||||
mauve = "#cba6f7"
|
|
||||||
red = "#f38ba8"
|
|
||||||
maroon = "#eba0ac"
|
|
||||||
peach = "#fab387"
|
|
||||||
yellow = "#f9e2af"
|
|
||||||
green = "#a6e3a1"
|
|
||||||
teal = "#94e2d5"
|
|
||||||
sky = "#89dceb"
|
|
||||||
sapphire = "#74c7ec"
|
|
||||||
blue = "#89b4fa"
|
|
||||||
lavender = "#b4befe"
|
|
||||||
text = "#cdd6f4"
|
|
||||||
subtext1 = "#bac2de"
|
|
||||||
subtext0 = "#a6adc8"
|
|
||||||
overlay2 = "#9399b2"
|
|
||||||
overlay1 = "#7f849c"
|
|
||||||
overlay0 = "#6c7086"
|
|
||||||
surface2 = "#585b70"
|
|
||||||
surface1 = "#45475a"
|
|
||||||
surface0 = "#313244"
|
|
||||||
base = "#1e1e2e"
|
|
||||||
mantle = "#181825"
|
|
||||||
crust = "#11111b"
|
|
||||||
|
|
||||||
[character]
|
|
||||||
# Note the use of Catppuccin color 'maroon'
|
|
||||||
success_symbol = "[[♥](peach) ❯](maroon)"
|
|
||||||
error_symbol = "[❯](red)"
|
|
||||||
vimcmd_symbol = "[❮](green)"
|
|
||||||
|
|
||||||
[aws]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[azure]
|
|
||||||
disabled = false
|
|
||||||
|
|
||||||
[buf]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[c]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
read_only = " "
|
|
||||||
truncate_to_repo = false
|
|
||||||
truncation_length = 4
|
|
||||||
style = "bold lavender"
|
|
||||||
|
|
||||||
[directory.substitutions]
|
|
||||||
"Documents" = " "
|
|
||||||
"Downloads" = " "
|
|
||||||
"Music" = " "
|
|
||||||
"Pictures" = " "
|
|
||||||
"Projects" = " "
|
|
||||||
"Videos" = " "
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[env_var.VIMSHELL] # vim subshell
|
|
||||||
format = "[$env_value]($style)"
|
|
||||||
style = 'green italic'
|
|
||||||
|
|
||||||
[fennel]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[fossil_branch]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
ahead = "⇡${count}"
|
|
||||||
behind = "⇣${count}"
|
|
||||||
deleted = "x"
|
|
||||||
diverged = "⇕⇡${ahead_count}⇣${behind_count}"
|
|
||||||
style = "bold yellow"
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[guix_shell]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[haskell]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[haxe]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[hostname]
|
|
||||||
ssh_symbol = " "
|
|
||||||
|
|
||||||
[kubernetes]
|
|
||||||
format = "on [$symbol$context( \\($namespace\\))]($style) "
|
|
||||||
disabled = false
|
|
||||||
|
|
||||||
[java]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[lua]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[meson]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[os]
|
|
||||||
disabled = false
|
|
||||||
format = "[$symbol ]($style)"
|
|
||||||
|
|
||||||
[os.symbols]
|
|
||||||
Alpaquita = " "
|
|
||||||
Alpine = " "
|
|
||||||
AlmaLinux = " "
|
|
||||||
Amazon = " "
|
|
||||||
Android = " "
|
|
||||||
Arch = " "
|
|
||||||
Artix = " "
|
|
||||||
CentOS = " "
|
|
||||||
Debian = " "
|
|
||||||
DragonFly = " "
|
|
||||||
Emscripten = " "
|
|
||||||
EndeavourOS = " "
|
|
||||||
Fedora = " "
|
|
||||||
FreeBSD = " "
|
|
||||||
Garuda = " "
|
|
||||||
Gentoo = " "
|
|
||||||
HardenedBSD = " "
|
|
||||||
Illumos = " "
|
|
||||||
Kali = " "
|
|
||||||
Linux = " "
|
|
||||||
Mabox = " "
|
|
||||||
Macos = " "
|
|
||||||
Manjaro = " "
|
|
||||||
Mariner = " "
|
|
||||||
MidnightBSD = " "
|
|
||||||
Mint = " "
|
|
||||||
NetBSD = " "
|
|
||||||
NixOS = " "
|
|
||||||
OpenBSD = " "
|
|
||||||
openSUSE = " "
|
|
||||||
OracleLinux = " "
|
|
||||||
Pop = " "
|
|
||||||
Raspbian = " "
|
|
||||||
Redhat = " "
|
|
||||||
RedHatEnterprise = " "
|
|
||||||
RockyLinux = " "
|
|
||||||
Redox = " "
|
|
||||||
Solus = " "
|
|
||||||
SUSE = " "
|
|
||||||
Ubuntu = " "
|
|
||||||
Unknown = " "
|
|
||||||
Void = " "
|
|
||||||
Windows = " "
|
|
||||||
|
|
||||||
[package]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[php]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[pijul_channel]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[python]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[rlang]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[username]
|
|
||||||
show_always = true
|
|
||||||
|
|
||||||
[zig]
|
|
||||||
symbol = " "
|
|
||||||
@@ -1,163 +0,0 @@
|
|||||||
" Name: catppuccin_frappe.vim
|
|
||||||
|
|
||||||
set background=dark
|
|
||||||
hi clear
|
|
||||||
|
|
||||||
if exists('syntax on')
|
|
||||||
syntax reset
|
|
||||||
endif
|
|
||||||
|
|
||||||
let g:colors_name='catppuccin_frappe'
|
|
||||||
set t_Co=256
|
|
||||||
|
|
||||||
let s:rosewater = "#F2D5CF"
|
|
||||||
let s:flamingo = "#EEBEBE"
|
|
||||||
let s:pink = "#F4B8E4"
|
|
||||||
let s:mauve = "#CA9EE6"
|
|
||||||
let s:red = "#E78284"
|
|
||||||
let s:maroon = "#EA999C"
|
|
||||||
let s:peach = "#EF9F76"
|
|
||||||
let s:yellow = "#E5C890"
|
|
||||||
let s:green = "#A6D189"
|
|
||||||
let s:teal = "#81C8BE"
|
|
||||||
let s:sky = "#99D1DB"
|
|
||||||
let s:sapphire = "#85C1DC"
|
|
||||||
let s:blue = "#8CAAEE"
|
|
||||||
let s:lavender = "#BABBF1"
|
|
||||||
|
|
||||||
let s:text = "#C6D0F5"
|
|
||||||
let s:subtext1 = "#B5BFE2"
|
|
||||||
let s:subtext0 = "#A5ADCE"
|
|
||||||
let s:overlay2 = "#949CBB"
|
|
||||||
let s:overlay1 = "#838BA7"
|
|
||||||
let s:overlay0 = "#737994"
|
|
||||||
let s:surface2 = "#626880"
|
|
||||||
let s:surface1 = "#51576D"
|
|
||||||
let s:surface0 = "#414559"
|
|
||||||
|
|
||||||
let s:base = "#303446"
|
|
||||||
let s:mantle = "#292C3C"
|
|
||||||
let s:crust = "#232634"
|
|
||||||
|
|
||||||
function! s:hi(group, guisp, guifg, guibg, gui, cterm)
|
|
||||||
let cmd = ""
|
|
||||||
if a:guisp != ""
|
|
||||||
let cmd = cmd . " guisp=" . a:guisp
|
|
||||||
endif
|
|
||||||
if a:guifg != ""
|
|
||||||
let cmd = cmd . " guifg=" . a:guifg
|
|
||||||
endif
|
|
||||||
if a:guibg != ""
|
|
||||||
let cmd = cmd . " guibg=" . a:guibg
|
|
||||||
endif
|
|
||||||
if a:gui != ""
|
|
||||||
let cmd = cmd . " gui=" . a:gui
|
|
||||||
endif
|
|
||||||
if a:cterm != ""
|
|
||||||
let cmd = cmd . " cterm=" . a:cterm
|
|
||||||
endif
|
|
||||||
if cmd != ""
|
|
||||||
exec "hi " . a:group . cmd
|
|
||||||
endif
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
call s:hi("Normal", "NONE", s:text, s:base, "NONE", "NONE")
|
|
||||||
call s:hi("Visual", "NONE", "NONE", s:surface1,"bold", "bold")
|
|
||||||
call s:hi("Conceal", "NONE", s:overlay1, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("ColorColumn", "NONE", "NONE", s:surface0, "NONE", "NONE")
|
|
||||||
call s:hi("Cursor", "NONE", s:base, s:rosewater, "NONE", "NONE")
|
|
||||||
call s:hi("lCursor", "NONE", s:base, s:rosewater, "NONE", "NONE")
|
|
||||||
call s:hi("CursorIM", "NONE", s:base, s:rosewater, "NONE", "NONE")
|
|
||||||
call s:hi("CursorColumn", "NONE", "NONE", s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("CursorLine", "NONE", "NONE", s:surface0, "NONE", "NONE")
|
|
||||||
call s:hi("Directory", "NONE", s:blue, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("DiffAdd", "NONE", s:base, s:green, "NONE", "NONE")
|
|
||||||
call s:hi("DiffChange", "NONE", s:base, s:yellow, "NONE", "NONE")
|
|
||||||
call s:hi("DiffDelete", "NONE", s:base, s:red, "NONE", "NONE")
|
|
||||||
call s:hi("DiffText", "NONE", s:base, s:blue, "NONE", "NONE")
|
|
||||||
call s:hi("EndOfBuffer", "NONE", "NONE", "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("ErrorMsg", "NONE", s:red, "NONE", "bolditalic" , "bold,italic")
|
|
||||||
call s:hi("VertSplit", "NONE", s:crust, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Folded", "NONE", s:blue, s:surface1, "NONE", "NONE")
|
|
||||||
call s:hi("FoldColumn", "NONE", s:overlay0, s:base, "NONE", "NONE")
|
|
||||||
call s:hi("SignColumn", "NONE", s:surface1, s:base, "NONE", "NONE")
|
|
||||||
call s:hi("IncSearch", "NONE", s:surface1, s:pink, "NONE", "NONE")
|
|
||||||
call s:hi("CursorLineNR", "NONE", s:lavender, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("LineNr", "NONE", s:surface1, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("MatchParen", "NONE", s:peach, "NONE", "bold", "bold")
|
|
||||||
call s:hi("ModeMsg", "NONE", s:text, "NONE", "bold", "bold")
|
|
||||||
call s:hi("MoreMsg", "NONE", s:blue, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("NonText", "NONE", s:overlay0, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Pmenu", "NONE", s:overlay2, s:surface0, "NONE", "NONE")
|
|
||||||
call s:hi("PmenuSel", "NONE", s:text, s:surface1, "bold", "bold")
|
|
||||||
call s:hi("PmenuSbar", "NONE", "NONE", s:surface1, "NONE", "NONE")
|
|
||||||
call s:hi("PmenuThumb", "NONE", "NONE", s:overlay0, "NONE", "NONE")
|
|
||||||
call s:hi("Question", "NONE", s:blue, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("QuickFixLine", "NONE", "NONE", s:surface1, "bold", "bold")
|
|
||||||
call s:hi("Search", "NONE", s:pink, s:surface1, "bold", "bold")
|
|
||||||
call s:hi("SpecialKey", "NONE", s:subtext0, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("SpellBad", "NONE", s:base, s:red, "NONE", "NONE")
|
|
||||||
call s:hi("SpellCap", "NONE", s:base, s:yellow, "NONE", "NONE")
|
|
||||||
call s:hi("SpellLocal", "NONE", s:base, s:blue, "NONE", "NONE")
|
|
||||||
call s:hi("SpellRare", "NONE", s:base, s:green, "NONE", "NONE")
|
|
||||||
call s:hi("StatusLine", "NONE", s:text, s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("StatusLineNC", "NONE", s:surface1, s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("StatusLineTerm", "NONE", s:text, s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("StatusLineTermNC", "NONE", s:surface1, s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("TabLine", "NONE", s:surface1, s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("TabLineFill", "NONE", "NONE", s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("TabLineSel", "NONE", s:green, s:surface1, "NONE", "NONE")
|
|
||||||
call s:hi("Title", "NONE", s:blue, "NONE", "bold", "bold")
|
|
||||||
call s:hi("VisualNOS", "NONE", "NONE", s:surface1, "bold", "bold")
|
|
||||||
call s:hi("WarningMsg", "NONE", s:yellow, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("WildMenu", "NONE", "NONE", s:overlay0, "NONE", "NONE")
|
|
||||||
call s:hi("Comment", "NONE", s:overlay0, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Constant", "NONE", s:peach, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Identifier", "NONE", s:flamingo, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Statement", "NONE", s:mauve, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("PreProc", "NONE", s:pink, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Type", "NONE", s:blue, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Special", "NONE", s:pink, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Underlined", "NONE", s:text, s:base, "underline", "underline")
|
|
||||||
call s:hi("Error", "NONE", s:red, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Todo", "NONE", s:base, s:flamingo, "bold", "bold")
|
|
||||||
|
|
||||||
call s:hi("String", "NONE", s:green, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Character", "NONE", s:teal, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Number", "NONE", s:peach, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Boolean", "NONE", s:peach, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Float", "NONE", s:peach, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Function", "NONE", s:blue, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Conditional", "NONE", s:red, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Repeat", "NONE", s:red, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Label", "NONE", s:peach, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Operator", "NONE", s:sky, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Keyword", "NONE", s:pink, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Include", "NONE", s:pink, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("StorageClass", "NONE", s:yellow, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Structure", "NONE", s:yellow, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Typedef", "NONE", s:yellow, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("debugPC", "NONE", "NONE", s:crust, "NONE", "NONE")
|
|
||||||
call s:hi("debugBreakpoint", "NONE", s:overlay0, s:base, "NONE", "NONE")
|
|
||||||
|
|
||||||
hi link Define PreProc
|
|
||||||
hi link Macro PreProc
|
|
||||||
hi link PreCondit PreProc
|
|
||||||
hi link SpecialChar Special
|
|
||||||
hi link Tag Special
|
|
||||||
hi link Delimiter Special
|
|
||||||
hi link SpecialComment Special
|
|
||||||
hi link Debug Special
|
|
||||||
hi link Exception Error
|
|
||||||
hi link StatusLineTerm StatusLine
|
|
||||||
hi link StatusLineTermNC StatusLineNC
|
|
||||||
hi link Terminal Normal
|
|
||||||
hi link Ignore Comment
|
|
||||||
|
|
||||||
" Set terminal colors for playing well with plugins like fzf
|
|
||||||
let g:terminal_ansi_colors = [
|
|
||||||
\ s:surface1, s:red, s:green, s:yellow, s:blue, s:pink, s:teal, s:subtext1,
|
|
||||||
\ s:surface2, s:red, s:green, s:yellow, s:blue, s:pink, s:teal, s:subtext0
|
|
||||||
\ ]
|
|
||||||
@@ -1,163 +0,0 @@
|
|||||||
" Name: catppuccin_latte.vim
|
|
||||||
|
|
||||||
set background=dark
|
|
||||||
hi clear
|
|
||||||
|
|
||||||
if exists('syntax on')
|
|
||||||
syntax reset
|
|
||||||
endif
|
|
||||||
|
|
||||||
let g:colors_name='catppuccin_latte'
|
|
||||||
set t_Co=256
|
|
||||||
|
|
||||||
let s:rosewater = "#DC8A78"
|
|
||||||
let s:flamingo = "#DD7878"
|
|
||||||
let s:pink = "#EA76CB"
|
|
||||||
let s:mauve = "#8839EF"
|
|
||||||
let s:red = "#D20F39"
|
|
||||||
let s:maroon = "#E64553"
|
|
||||||
let s:peach = "#FE640B"
|
|
||||||
let s:yellow = "#DF8E1D"
|
|
||||||
let s:green = "#40A02B"
|
|
||||||
let s:teal = "#179299"
|
|
||||||
let s:sky = "#04A5E5"
|
|
||||||
let s:sapphire = "#209FB5"
|
|
||||||
let s:blue = "#1E66F5"
|
|
||||||
let s:lavender = "#7287FD"
|
|
||||||
|
|
||||||
let s:text = "#4C4F69"
|
|
||||||
let s:subtext1 = "#5C5F77"
|
|
||||||
let s:subtext0 = "#6C6F85"
|
|
||||||
let s:overlay2 = "#7C7F93"
|
|
||||||
let s:overlay1 = "#8C8FA1"
|
|
||||||
let s:overlay0 = "#9CA0B0"
|
|
||||||
let s:surface2 = "#ACB0BE"
|
|
||||||
let s:surface1 = "#BCC0CC"
|
|
||||||
let s:surface0 = "#CCD0DA"
|
|
||||||
|
|
||||||
let s:base = "#EFF1F5"
|
|
||||||
let s:mantle = "#E6E9EF"
|
|
||||||
let s:crust = "#DCE0E8"
|
|
||||||
|
|
||||||
function! s:hi(group, guisp, guifg, guibg, gui, cterm)
|
|
||||||
let cmd = ""
|
|
||||||
if a:guisp != ""
|
|
||||||
let cmd = cmd . " guisp=" . a:guisp
|
|
||||||
endif
|
|
||||||
if a:guifg != ""
|
|
||||||
let cmd = cmd . " guifg=" . a:guifg
|
|
||||||
endif
|
|
||||||
if a:guibg != ""
|
|
||||||
let cmd = cmd . " guibg=" . a:guibg
|
|
||||||
endif
|
|
||||||
if a:gui != ""
|
|
||||||
let cmd = cmd . " gui=" . a:gui
|
|
||||||
endif
|
|
||||||
if a:cterm != ""
|
|
||||||
let cmd = cmd . " cterm=" . a:cterm
|
|
||||||
endif
|
|
||||||
if cmd != ""
|
|
||||||
exec "hi " . a:group . cmd
|
|
||||||
endif
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
call s:hi("Normal", "NONE", s:text, s:base, "NONE", "NONE")
|
|
||||||
call s:hi("Visual", "NONE", "NONE", s:surface1,"bold", "bold")
|
|
||||||
call s:hi("Conceal", "NONE", s:overlay1, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("ColorColumn", "NONE", "NONE", s:surface0, "NONE", "NONE")
|
|
||||||
call s:hi("Cursor", "NONE", s:base, s:rosewater, "NONE", "NONE")
|
|
||||||
call s:hi("lCursor", "NONE", s:base, s:rosewater, "NONE", "NONE")
|
|
||||||
call s:hi("CursorIM", "NONE", s:base, s:rosewater, "NONE", "NONE")
|
|
||||||
call s:hi("CursorColumn", "NONE", "NONE", s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("CursorLine", "NONE", "NONE", s:surface0, "NONE", "NONE")
|
|
||||||
call s:hi("Directory", "NONE", s:blue, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("DiffAdd", "NONE", s:base, s:green, "NONE", "NONE")
|
|
||||||
call s:hi("DiffChange", "NONE", s:base, s:yellow, "NONE", "NONE")
|
|
||||||
call s:hi("DiffDelete", "NONE", s:base, s:red, "NONE", "NONE")
|
|
||||||
call s:hi("DiffText", "NONE", s:base, s:blue, "NONE", "NONE")
|
|
||||||
call s:hi("EndOfBuffer", "NONE", "NONE", "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("ErrorMsg", "NONE", s:red, "NONE", "bolditalic" , "bold,italic")
|
|
||||||
call s:hi("VertSplit", "NONE", s:crust, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Folded", "NONE", s:blue, s:surface1, "NONE", "NONE")
|
|
||||||
call s:hi("FoldColumn", "NONE", s:overlay0, s:base, "NONE", "NONE")
|
|
||||||
call s:hi("SignColumn", "NONE", s:surface1, s:base, "NONE", "NONE")
|
|
||||||
call s:hi("IncSearch", "NONE", s:surface1, s:pink, "NONE", "NONE")
|
|
||||||
call s:hi("CursorLineNR", "NONE", s:lavender, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("LineNr", "NONE", s:surface1, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("MatchParen", "NONE", s:peach, "NONE", "bold", "bold")
|
|
||||||
call s:hi("ModeMsg", "NONE", s:text, "NONE", "bold", "bold")
|
|
||||||
call s:hi("MoreMsg", "NONE", s:blue, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("NonText", "NONE", s:overlay0, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Pmenu", "NONE", s:overlay2, s:surface0, "NONE", "NONE")
|
|
||||||
call s:hi("PmenuSel", "NONE", s:text, s:surface1, "bold", "bold")
|
|
||||||
call s:hi("PmenuSbar", "NONE", "NONE", s:surface1, "NONE", "NONE")
|
|
||||||
call s:hi("PmenuThumb", "NONE", "NONE", s:overlay0, "NONE", "NONE")
|
|
||||||
call s:hi("Question", "NONE", s:blue, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("QuickFixLine", "NONE", "NONE", s:surface1, "bold", "bold")
|
|
||||||
call s:hi("Search", "NONE", s:pink, s:surface1, "bold", "bold")
|
|
||||||
call s:hi("SpecialKey", "NONE", s:subtext0, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("SpellBad", "NONE", s:base, s:red, "NONE", "NONE")
|
|
||||||
call s:hi("SpellCap", "NONE", s:base, s:yellow, "NONE", "NONE")
|
|
||||||
call s:hi("SpellLocal", "NONE", s:base, s:blue, "NONE", "NONE")
|
|
||||||
call s:hi("SpellRare", "NONE", s:base, s:green, "NONE", "NONE")
|
|
||||||
call s:hi("StatusLine", "NONE", s:text, s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("StatusLineNC", "NONE", s:surface1, s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("StatusLineTerm", "NONE", s:text, s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("StatusLineTermNC", "NONE", s:surface1, s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("TabLine", "NONE", s:surface1, s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("TabLineFill", "NONE", "NONE", s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("TabLineSel", "NONE", s:green, s:surface1, "NONE", "NONE")
|
|
||||||
call s:hi("Title", "NONE", s:blue, "NONE", "bold", "bold")
|
|
||||||
call s:hi("VisualNOS", "NONE", "NONE", s:surface1, "bold", "bold")
|
|
||||||
call s:hi("WarningMsg", "NONE", s:yellow, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("WildMenu", "NONE", "NONE", s:overlay0, "NONE", "NONE")
|
|
||||||
call s:hi("Comment", "NONE", s:overlay0, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Constant", "NONE", s:peach, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Identifier", "NONE", s:flamingo, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Statement", "NONE", s:mauve, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("PreProc", "NONE", s:pink, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Type", "NONE", s:blue, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Special", "NONE", s:pink, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Underlined", "NONE", s:text, s:base, "underline", "underline")
|
|
||||||
call s:hi("Error", "NONE", s:red, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Todo", "NONE", s:base, s:flamingo, "bold", "bold")
|
|
||||||
|
|
||||||
call s:hi("String", "NONE", s:green, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Character", "NONE", s:teal, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Number", "NONE", s:peach, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Boolean", "NONE", s:peach, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Float", "NONE", s:peach, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Function", "NONE", s:blue, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Conditional", "NONE", s:red, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Repeat", "NONE", s:red, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Label", "NONE", s:peach, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Operator", "NONE", s:sky, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Keyword", "NONE", s:pink, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Include", "NONE", s:pink, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("StorageClass", "NONE", s:yellow, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Structure", "NONE", s:yellow, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Typedef", "NONE", s:yellow, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("debugPC", "NONE", "NONE", s:crust, "NONE", "NONE")
|
|
||||||
call s:hi("debugBreakpoint", "NONE", s:overlay0, s:base, "NONE", "NONE")
|
|
||||||
|
|
||||||
hi link Define PreProc
|
|
||||||
hi link Macro PreProc
|
|
||||||
hi link PreCondit PreProc
|
|
||||||
hi link SpecialChar Special
|
|
||||||
hi link Tag Special
|
|
||||||
hi link Delimiter Special
|
|
||||||
hi link SpecialComment Special
|
|
||||||
hi link Debug Special
|
|
||||||
hi link Exception Error
|
|
||||||
hi link StatusLineTerm StatusLine
|
|
||||||
hi link StatusLineTermNC StatusLineNC
|
|
||||||
hi link Terminal Normal
|
|
||||||
hi link Ignore Comment
|
|
||||||
|
|
||||||
" Set terminal colors for playing well with plugins like fzf
|
|
||||||
let g:terminal_ansi_colors = [
|
|
||||||
\ s:subtext1, s:red, s:green, s:yellow, s:blue, s:pink, s:teal, s:surface2,
|
|
||||||
\ s:subtext0, s:red, s:green, s:yellow, s:blue, s:pink, s:teal, s:surface1
|
|
||||||
\ ]
|
|
||||||
@@ -1,163 +0,0 @@
|
|||||||
" Name: catppuccin_macchiato.vim
|
|
||||||
|
|
||||||
set background=dark
|
|
||||||
hi clear
|
|
||||||
|
|
||||||
if exists('syntax on')
|
|
||||||
syntax reset
|
|
||||||
endif
|
|
||||||
|
|
||||||
let g:colors_name='catppuccin_macchiato'
|
|
||||||
set t_Co=256
|
|
||||||
|
|
||||||
let s:rosewater = "#F4DBD6"
|
|
||||||
let s:flamingo = "#F0C6C6"
|
|
||||||
let s:pink = "#F5BDE6"
|
|
||||||
let s:mauve = "#C6A0F6"
|
|
||||||
let s:red = "#ED8796"
|
|
||||||
let s:maroon = "#EE99A0"
|
|
||||||
let s:peach = "#F5A97F"
|
|
||||||
let s:yellow = "#EED49F"
|
|
||||||
let s:green = "#A6DA95"
|
|
||||||
let s:teal = "#8BD5CA"
|
|
||||||
let s:sky = "#91D7E3"
|
|
||||||
let s:sapphire = "#7DC4E4"
|
|
||||||
let s:blue = "#8AADF4"
|
|
||||||
let s:lavender = "#B7BDF8"
|
|
||||||
|
|
||||||
let s:text = "#CAD3F5"
|
|
||||||
let s:subtext1 = "#B8C0E0"
|
|
||||||
let s:subtext0 = "#A5ADCB"
|
|
||||||
let s:overlay2 = "#939AB7"
|
|
||||||
let s:overlay1 = "#8087A2"
|
|
||||||
let s:overlay0 = "#6E738D"
|
|
||||||
let s:surface2 = "#5B6078"
|
|
||||||
let s:surface1 = "#494D64"
|
|
||||||
let s:surface0 = "#363A4F"
|
|
||||||
|
|
||||||
let s:base = "#24273A"
|
|
||||||
let s:mantle = "#1E2030"
|
|
||||||
let s:crust = "#181926"
|
|
||||||
|
|
||||||
function! s:hi(group, guisp, guifg, guibg, gui, cterm)
|
|
||||||
let cmd = ""
|
|
||||||
if a:guisp != ""
|
|
||||||
let cmd = cmd . " guisp=" . a:guisp
|
|
||||||
endif
|
|
||||||
if a:guifg != ""
|
|
||||||
let cmd = cmd . " guifg=" . a:guifg
|
|
||||||
endif
|
|
||||||
if a:guibg != ""
|
|
||||||
let cmd = cmd . " guibg=" . a:guibg
|
|
||||||
endif
|
|
||||||
if a:gui != ""
|
|
||||||
let cmd = cmd . " gui=" . a:gui
|
|
||||||
endif
|
|
||||||
if a:cterm != ""
|
|
||||||
let cmd = cmd . " cterm=" . a:cterm
|
|
||||||
endif
|
|
||||||
if cmd != ""
|
|
||||||
exec "hi " . a:group . cmd
|
|
||||||
endif
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
call s:hi("Normal", "NONE", s:text, s:base, "NONE", "NONE")
|
|
||||||
call s:hi("Visual", "NONE", "NONE", s:surface1,"bold", "bold")
|
|
||||||
call s:hi("Conceal", "NONE", s:overlay1, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("ColorColumn", "NONE", "NONE", s:surface0, "NONE", "NONE")
|
|
||||||
call s:hi("Cursor", "NONE", s:base, s:rosewater, "NONE", "NONE")
|
|
||||||
call s:hi("lCursor", "NONE", s:base, s:rosewater, "NONE", "NONE")
|
|
||||||
call s:hi("CursorIM", "NONE", s:base, s:rosewater, "NONE", "NONE")
|
|
||||||
call s:hi("CursorColumn", "NONE", "NONE", s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("CursorLine", "NONE", "NONE", s:surface0, "NONE", "NONE")
|
|
||||||
call s:hi("Directory", "NONE", s:blue, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("DiffAdd", "NONE", s:base, s:green, "NONE", "NONE")
|
|
||||||
call s:hi("DiffChange", "NONE", s:base, s:yellow, "NONE", "NONE")
|
|
||||||
call s:hi("DiffDelete", "NONE", s:base, s:red, "NONE", "NONE")
|
|
||||||
call s:hi("DiffText", "NONE", s:base, s:blue, "NONE", "NONE")
|
|
||||||
call s:hi("EndOfBuffer", "NONE", "NONE", "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("ErrorMsg", "NONE", s:red, "NONE", "bolditalic" , "bold,italic")
|
|
||||||
call s:hi("VertSplit", "NONE", s:crust, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Folded", "NONE", s:blue, s:surface1, "NONE", "NONE")
|
|
||||||
call s:hi("FoldColumn", "NONE", s:overlay0, s:base, "NONE", "NONE")
|
|
||||||
call s:hi("SignColumn", "NONE", s:surface1, s:base, "NONE", "NONE")
|
|
||||||
call s:hi("IncSearch", "NONE", s:surface1, s:pink, "NONE", "NONE")
|
|
||||||
call s:hi("CursorLineNR", "NONE", s:lavender, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("LineNr", "NONE", s:surface1, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("MatchParen", "NONE", s:peach, "NONE", "bold", "bold")
|
|
||||||
call s:hi("ModeMsg", "NONE", s:text, "NONE", "bold", "bold")
|
|
||||||
call s:hi("MoreMsg", "NONE", s:blue, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("NonText", "NONE", s:overlay0, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Pmenu", "NONE", s:overlay2, s:surface0, "NONE", "NONE")
|
|
||||||
call s:hi("PmenuSel", "NONE", s:text, s:surface1, "bold", "bold")
|
|
||||||
call s:hi("PmenuSbar", "NONE", "NONE", s:surface1, "NONE", "NONE")
|
|
||||||
call s:hi("PmenuThumb", "NONE", "NONE", s:overlay0, "NONE", "NONE")
|
|
||||||
call s:hi("Question", "NONE", s:blue, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("QuickFixLine", "NONE", "NONE", s:surface1, "bold", "bold")
|
|
||||||
call s:hi("Search", "NONE", s:pink, s:surface1, "bold", "bold")
|
|
||||||
call s:hi("SpecialKey", "NONE", s:subtext0, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("SpellBad", "NONE", s:base, s:red, "NONE", "NONE")
|
|
||||||
call s:hi("SpellCap", "NONE", s:base, s:yellow, "NONE", "NONE")
|
|
||||||
call s:hi("SpellLocal", "NONE", s:base, s:blue, "NONE", "NONE")
|
|
||||||
call s:hi("SpellRare", "NONE", s:base, s:green, "NONE", "NONE")
|
|
||||||
call s:hi("StatusLine", "NONE", s:text, s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("StatusLineNC", "NONE", s:surface1, s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("StatusLineTerm", "NONE", s:text, s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("StatusLineTermNC", "NONE", s:surface1, s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("TabLine", "NONE", s:surface1, s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("TabLineFill", "NONE", "NONE", s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("TabLineSel", "NONE", s:green, s:surface1, "NONE", "NONE")
|
|
||||||
call s:hi("Title", "NONE", s:blue, "NONE", "bold", "bold")
|
|
||||||
call s:hi("VisualNOS", "NONE", "NONE", s:surface1, "bold", "bold")
|
|
||||||
call s:hi("WarningMsg", "NONE", s:yellow, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("WildMenu", "NONE", "NONE", s:overlay0, "NONE", "NONE")
|
|
||||||
call s:hi("Comment", "NONE", s:overlay0, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Constant", "NONE", s:peach, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Identifier", "NONE", s:flamingo, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Statement", "NONE", s:mauve, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("PreProc", "NONE", s:pink, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Type", "NONE", s:blue, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Special", "NONE", s:pink, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Underlined", "NONE", s:text, s:base, "underline", "underline")
|
|
||||||
call s:hi("Error", "NONE", s:red, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Todo", "NONE", s:base, s:flamingo, "bold", "bold")
|
|
||||||
|
|
||||||
call s:hi("String", "NONE", s:green, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Character", "NONE", s:teal, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Number", "NONE", s:peach, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Boolean", "NONE", s:peach, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Float", "NONE", s:peach, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Function", "NONE", s:blue, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Conditional", "NONE", s:red, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Repeat", "NONE", s:red, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Label", "NONE", s:peach, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Operator", "NONE", s:sky, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Keyword", "NONE", s:pink, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Include", "NONE", s:pink, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("StorageClass", "NONE", s:yellow, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Structure", "NONE", s:yellow, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Typedef", "NONE", s:yellow, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("debugPC", "NONE", "NONE", s:crust, "NONE", "NONE")
|
|
||||||
call s:hi("debugBreakpoint", "NONE", s:overlay0, s:base, "NONE", "NONE")
|
|
||||||
|
|
||||||
hi link Define PreProc
|
|
||||||
hi link Macro PreProc
|
|
||||||
hi link PreCondit PreProc
|
|
||||||
hi link SpecialChar Special
|
|
||||||
hi link Tag Special
|
|
||||||
hi link Delimiter Special
|
|
||||||
hi link SpecialComment Special
|
|
||||||
hi link Debug Special
|
|
||||||
hi link Exception Error
|
|
||||||
hi link StatusLineTerm StatusLine
|
|
||||||
hi link StatusLineTermNC StatusLineNC
|
|
||||||
hi link Terminal Normal
|
|
||||||
hi link Ignore Comment
|
|
||||||
|
|
||||||
" Set terminal colors for playing well with plugins like fzf
|
|
||||||
let g:terminal_ansi_colors = [
|
|
||||||
\ s:surface1, s:red, s:green, s:yellow, s:blue, s:pink, s:teal, s:subtext1,
|
|
||||||
\ s:surface2, s:red, s:green, s:yellow, s:blue, s:pink, s:teal, s:subtext0
|
|
||||||
\ ]
|
|
||||||
@@ -1,163 +0,0 @@
|
|||||||
" Name: catppuccin_mocha.vim
|
|
||||||
|
|
||||||
set background=dark
|
|
||||||
hi clear
|
|
||||||
|
|
||||||
if exists('syntax on')
|
|
||||||
syntax reset
|
|
||||||
endif
|
|
||||||
|
|
||||||
let g:colors_name='catppuccin_mocha'
|
|
||||||
set t_Co=256
|
|
||||||
|
|
||||||
let s:rosewater = "#F5E0DC"
|
|
||||||
let s:flamingo = "#F2CDCD"
|
|
||||||
let s:pink = "#F5C2E7"
|
|
||||||
let s:mauve = "#CBA6F7"
|
|
||||||
let s:red = "#F38BA8"
|
|
||||||
let s:maroon = "#EBA0AC"
|
|
||||||
let s:peach = "#FAB387"
|
|
||||||
let s:yellow = "#F9E2AF"
|
|
||||||
let s:green = "#A6E3A1"
|
|
||||||
let s:teal = "#94E2D5"
|
|
||||||
let s:sky = "#89DCEB"
|
|
||||||
let s:sapphire = "#74C7EC"
|
|
||||||
let s:blue = "#89B4FA"
|
|
||||||
let s:lavender = "#B4BEFE"
|
|
||||||
|
|
||||||
let s:text = "#CDD6F4"
|
|
||||||
let s:subtext1 = "#BAC2DE"
|
|
||||||
let s:subtext0 = "#A6ADC8"
|
|
||||||
let s:overlay2 = "#9399B2"
|
|
||||||
let s:overlay1 = "#7F849C"
|
|
||||||
let s:overlay0 = "#6C7086"
|
|
||||||
let s:surface2 = "#585B70"
|
|
||||||
let s:surface1 = "#45475A"
|
|
||||||
let s:surface0 = "#313244"
|
|
||||||
|
|
||||||
let s:base = "#1E1E2E"
|
|
||||||
let s:mantle = "#181825"
|
|
||||||
let s:crust = "#11111B"
|
|
||||||
|
|
||||||
function! s:hi(group, guisp, guifg, guibg, gui, cterm)
|
|
||||||
let cmd = ""
|
|
||||||
if a:guisp != ""
|
|
||||||
let cmd = cmd . " guisp=" . a:guisp
|
|
||||||
endif
|
|
||||||
if a:guifg != ""
|
|
||||||
let cmd = cmd . " guifg=" . a:guifg
|
|
||||||
endif
|
|
||||||
if a:guibg != ""
|
|
||||||
let cmd = cmd . " guibg=" . a:guibg
|
|
||||||
endif
|
|
||||||
if a:gui != ""
|
|
||||||
let cmd = cmd . " gui=" . a:gui
|
|
||||||
endif
|
|
||||||
if a:cterm != ""
|
|
||||||
let cmd = cmd . " cterm=" . a:cterm
|
|
||||||
endif
|
|
||||||
if cmd != ""
|
|
||||||
exec "hi " . a:group . cmd
|
|
||||||
endif
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
call s:hi("Normal", "NONE", s:text, s:base, "NONE", "NONE")
|
|
||||||
call s:hi("Visual", "NONE", "NONE", s:surface1,"bold", "bold")
|
|
||||||
call s:hi("Conceal", "NONE", s:overlay1, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("ColorColumn", "NONE", "NONE", s:surface0, "NONE", "NONE")
|
|
||||||
call s:hi("Cursor", "NONE", s:base, s:rosewater, "NONE", "NONE")
|
|
||||||
call s:hi("lCursor", "NONE", s:base, s:rosewater, "NONE", "NONE")
|
|
||||||
call s:hi("CursorIM", "NONE", s:base, s:rosewater, "NONE", "NONE")
|
|
||||||
call s:hi("CursorColumn", "NONE", "NONE", s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("CursorLine", "NONE", "NONE", s:surface0, "NONE", "NONE")
|
|
||||||
call s:hi("Directory", "NONE", s:blue, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("DiffAdd", "NONE", s:base, s:green, "NONE", "NONE")
|
|
||||||
call s:hi("DiffChange", "NONE", s:base, s:yellow, "NONE", "NONE")
|
|
||||||
call s:hi("DiffDelete", "NONE", s:base, s:red, "NONE", "NONE")
|
|
||||||
call s:hi("DiffText", "NONE", s:base, s:blue, "NONE", "NONE")
|
|
||||||
call s:hi("EndOfBuffer", "NONE", "NONE", "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("ErrorMsg", "NONE", s:red, "NONE", "bolditalic" , "bold,italic")
|
|
||||||
call s:hi("VertSplit", "NONE", s:crust, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Folded", "NONE", s:blue, s:surface1, "NONE", "NONE")
|
|
||||||
call s:hi("FoldColumn", "NONE", s:overlay0, s:base, "NONE", "NONE")
|
|
||||||
call s:hi("SignColumn", "NONE", s:surface1, s:base, "NONE", "NONE")
|
|
||||||
call s:hi("IncSearch", "NONE", s:surface1, s:pink, "NONE", "NONE")
|
|
||||||
call s:hi("CursorLineNR", "NONE", s:lavender, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("LineNr", "NONE", s:surface1, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("MatchParen", "NONE", s:peach, "NONE", "bold", "bold")
|
|
||||||
call s:hi("ModeMsg", "NONE", s:text, "NONE", "bold", "bold")
|
|
||||||
call s:hi("MoreMsg", "NONE", s:blue, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("NonText", "NONE", s:overlay0, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Pmenu", "NONE", s:overlay2, s:surface0, "NONE", "NONE")
|
|
||||||
call s:hi("PmenuSel", "NONE", s:text, s:surface1, "bold", "bold")
|
|
||||||
call s:hi("PmenuSbar", "NONE", "NONE", s:surface1, "NONE", "NONE")
|
|
||||||
call s:hi("PmenuThumb", "NONE", "NONE", s:overlay0, "NONE", "NONE")
|
|
||||||
call s:hi("Question", "NONE", s:blue, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("QuickFixLine", "NONE", "NONE", s:surface1, "bold", "bold")
|
|
||||||
call s:hi("Search", "NONE", s:pink, s:surface1, "bold", "bold")
|
|
||||||
call s:hi("SpecialKey", "NONE", s:subtext0, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("SpellBad", "NONE", s:base, s:red, "NONE", "NONE")
|
|
||||||
call s:hi("SpellCap", "NONE", s:base, s:yellow, "NONE", "NONE")
|
|
||||||
call s:hi("SpellLocal", "NONE", s:base, s:blue, "NONE", "NONE")
|
|
||||||
call s:hi("SpellRare", "NONE", s:base, s:green, "NONE", "NONE")
|
|
||||||
call s:hi("StatusLine", "NONE", s:text, s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("StatusLineNC", "NONE", s:surface1, s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("StatusLineTerm", "NONE", s:text, s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("StatusLineTermNC", "NONE", s:surface1, s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("TabLine", "NONE", s:surface1, s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("TabLineFill", "NONE", "NONE", s:mantle, "NONE", "NONE")
|
|
||||||
call s:hi("TabLineSel", "NONE", s:green, s:surface1, "NONE", "NONE")
|
|
||||||
call s:hi("Title", "NONE", s:blue, "NONE", "bold", "bold")
|
|
||||||
call s:hi("VisualNOS", "NONE", "NONE", s:surface1, "bold", "bold")
|
|
||||||
call s:hi("WarningMsg", "NONE", s:yellow, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("WildMenu", "NONE", "NONE", s:overlay0, "NONE", "NONE")
|
|
||||||
call s:hi("Comment", "NONE", s:overlay0, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Constant", "NONE", s:peach, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Identifier", "NONE", s:flamingo, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Statement", "NONE", s:mauve, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("PreProc", "NONE", s:pink, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Type", "NONE", s:blue, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Special", "NONE", s:pink, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Underlined", "NONE", s:text, s:base, "underline", "underline")
|
|
||||||
call s:hi("Error", "NONE", s:red, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Todo", "NONE", s:base, s:flamingo, "bold", "bold")
|
|
||||||
|
|
||||||
call s:hi("String", "NONE", s:green, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Character", "NONE", s:teal, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Number", "NONE", s:peach, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Boolean", "NONE", s:peach, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Float", "NONE", s:peach, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Function", "NONE", s:blue, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Conditional", "NONE", s:red, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Repeat", "NONE", s:red, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Label", "NONE", s:peach, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Operator", "NONE", s:sky, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Keyword", "NONE", s:pink, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Include", "NONE", s:pink, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("StorageClass", "NONE", s:yellow, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Structure", "NONE", s:yellow, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("Typedef", "NONE", s:yellow, "NONE", "NONE", "NONE")
|
|
||||||
call s:hi("debugPC", "NONE", "NONE", s:crust, "NONE", "NONE")
|
|
||||||
call s:hi("debugBreakpoint", "NONE", s:overlay0, s:base, "NONE", "NONE")
|
|
||||||
|
|
||||||
hi link Define PreProc
|
|
||||||
hi link Macro PreProc
|
|
||||||
hi link PreCondit PreProc
|
|
||||||
hi link SpecialChar Special
|
|
||||||
hi link Tag Special
|
|
||||||
hi link Delimiter Special
|
|
||||||
hi link SpecialComment Special
|
|
||||||
hi link Debug Special
|
|
||||||
hi link Exception Error
|
|
||||||
hi link StatusLineTerm StatusLine
|
|
||||||
hi link StatusLineTermNC StatusLineNC
|
|
||||||
hi link Terminal Normal
|
|
||||||
hi link Ignore Comment
|
|
||||||
|
|
||||||
" Set terminal colors for playing well with plugins like fzf
|
|
||||||
let g:terminal_ansi_colors = [
|
|
||||||
\ s:surface1, s:red, s:green, s:yellow, s:blue, s:pink, s:teal, s:subtext1,
|
|
||||||
\ s:surface2, s:red, s:green, s:yellow, s:blue, s:pink, s:teal, s:subtext0
|
|
||||||
\ ]
|
|
||||||
61
vim/.vimrc
61
vim/.vimrc
@@ -1,61 +0,0 @@
|
|||||||
" ----------------------------------------
|
|
||||||
" Appearance and Colorscheme: Catppuccin
|
|
||||||
" ----------------------------------------
|
|
||||||
|
|
||||||
set termguicolors " Enable true color support
|
|
||||||
colorscheme catppuccin_mocha " Use the mocha variant (dark theme)
|
|
||||||
|
|
||||||
" Optional: Lightline support (if installed)
|
|
||||||
let g:lightline = { 'colorscheme': 'catppuccin_mocha' }
|
|
||||||
|
|
||||||
" ----------------------------------------
|
|
||||||
" Smart indentation for C development
|
|
||||||
" ----------------------------------------
|
|
||||||
|
|
||||||
filetype plugin indent on
|
|
||||||
syntax enable
|
|
||||||
set autoindent " Copy indentation from previous line
|
|
||||||
set cindent " Use C-style indentation
|
|
||||||
set cinoptions=:0,l1,t0,g0 " Linux style: brace on new line, minimal alignment
|
|
||||||
set noexpandtab " Use real tab characters (not spaces)
|
|
||||||
set shiftwidth=8 " Indent by 8 columns
|
|
||||||
set softtabstop=8 " Insert/delete 8 spaces with tab/backspace
|
|
||||||
set tabstop=8 " A tab character is 8 columns wide
|
|
||||||
|
|
||||||
" ----------------------------------------
|
|
||||||
" Formatting on save with clang-format
|
|
||||||
" (requires clang-format installed)
|
|
||||||
" ----------------------------------------
|
|
||||||
|
|
||||||
let g:clang_format#style_options = {
|
|
||||||
\ 'BasedOnStyle': 'LLVM',
|
|
||||||
\ 'IndentWidth': 8,
|
|
||||||
\ 'TabWidth': 8,
|
|
||||||
\ 'UseTab': 'Always',
|
|
||||||
\ 'BreakBeforeBraces': 'Linux',
|
|
||||||
\ 'AllowShortIfStatementsOnASingleLine': 'false',
|
|
||||||
\ 'AllowShortLoopsOnASingleLine': 'false',
|
|
||||||
\ 'AllowShortFunctionsOnASingleLine': 'InlineOnly',
|
|
||||||
\ 'ColumnLimit': 80,
|
|
||||||
\ 'AlignConsecutiveDeclarations': 'false',
|
|
||||||
\ 'AlignConsecutiveAssignments': 'false',
|
|
||||||
\ 'AlignEscapedNewlines': 'Left',
|
|
||||||
\ 'AlignOperands': 'false',
|
|
||||||
\ 'IndentCaseLabels': 'false',
|
|
||||||
\ 'SpaceBeforeParens': 'ControlStatements'
|
|
||||||
\ }
|
|
||||||
|
|
||||||
autocmd BufWritePre *.c,*.h silent! execute '%!clang-format'
|
|
||||||
"autocmd BufWritePre *.c,*.h call system('clang-format -i ' . shellescape(@%))
|
|
||||||
|
|
||||||
" ----------------------------------------
|
|
||||||
" General UI settings
|
|
||||||
" ----------------------------------------
|
|
||||||
|
|
||||||
set number " Show line numbers
|
|
||||||
set cursorline " Highlight current line
|
|
||||||
set ruler " Show cursor position
|
|
||||||
set wildmenu " Enhanced command-line completion
|
|
||||||
set nowrap " Don't wrap long lines
|
|
||||||
set mouse=a " Enable mouse support
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user