1
0
Fork 0

cannot be bothered, it is all in the diff

This commit is contained in:
Von Random 2022-11-24 19:10:49 +02:00
parent cc85564a7b
commit 235c626ff9
4 changed files with 30 additions and 28 deletions

View file

@ -20,6 +20,7 @@ endif
if theme == 'gruvbox8'
call EnableTGC()
let g:gruvbox_transp_bg = 1
let g:gruvbox_plugin_hi_groups = 1
let g:gruvbox_filetype_hi_groups = 1
endif

View file

@ -38,7 +38,7 @@ local themes = {
'SleepyHollow', -- unusual colors
'Srcery (Gogh)', -- nice, but a bit too low on contrast
}
local default_theme = themes[27]
local default_theme = themes[18]
local webinar_overrides = {
harfbuzz_features = { 'calt=0', 'clig=0', 'liga=0' },
color_scheme = 'PencilLight',

View file

@ -48,6 +48,7 @@ gsl() { command git stash list $@ }
gss() { command git status -sbu $@ }
gsw() { command git switch $@ }
gup() { command git pull $@ }
gwt() { command git worktree $@ }
groot() { cd $(command git rev-parse --show-toplevel) || return 1 }
ggrep() { command git grep $@ }
gdiff() { command git diff --color $@; }

View file

@ -18,35 +18,35 @@ typeset -A prompt_symbols=(
bang $'\n\U01f525'
)
# gruvbox
#typeset -A prompt_colors=(
# fg '#ebdbb2'
# user '#458588'
# root '#cc241d'
# ssh '#d65d0e'
# host '#504945'
# cwd '#3c3836'
# ro '#d65d0e'
# git_branch '#504945'
# git_unstaged '#d65d0e'
# git_staged '#458588'
# git_untracked '#cc241d'
# git_unmerged '#689d6a'
#)
# 256 color
typeset -A prompt_colors=(
fg 253
user 24
root 124
ssh 66
host 238
cwd 236
ro 88
git_branch 238
git_unstaged 166
git_untracked 124
git_unmerged 171
git_staged 54
fg '#ebdbb2'
user '#458588'
root '#cc241d'
ssh '#d65d0e'
host '#504945'
cwd '#3c3836'
ro '#d65d0e'
git_branch '#504945'
git_unstaged '#d65d0e'
git_staged '#458588'
git_untracked '#cc241d'
git_unmerged '#689d6a'
)
# 256 color
#typeset -A prompt_colors=(
# fg 253
# user 24
# root 124
# ssh 66
# host 238
# cwd 236
# ro 88
# git_branch 238
# git_unstaged 166
# git_untracked 124
# git_unmerged 171
# git_staged 54
#)
precmd.prompt.init() {
typeset -g prompt_string= prev_color=