cannot be bothered, it is all in the diff
This commit is contained in:
parent
cc85564a7b
commit
235c626ff9
4 changed files with 30 additions and 28 deletions
|
@ -20,6 +20,7 @@ endif
|
||||||
|
|
||||||
if theme == 'gruvbox8'
|
if theme == 'gruvbox8'
|
||||||
call EnableTGC()
|
call EnableTGC()
|
||||||
|
let g:gruvbox_transp_bg = 1
|
||||||
let g:gruvbox_plugin_hi_groups = 1
|
let g:gruvbox_plugin_hi_groups = 1
|
||||||
let g:gruvbox_filetype_hi_groups = 1
|
let g:gruvbox_filetype_hi_groups = 1
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -38,7 +38,7 @@ local themes = {
|
||||||
'SleepyHollow', -- unusual colors
|
'SleepyHollow', -- unusual colors
|
||||||
'Srcery (Gogh)', -- nice, but a bit too low on contrast
|
'Srcery (Gogh)', -- nice, but a bit too low on contrast
|
||||||
}
|
}
|
||||||
local default_theme = themes[27]
|
local default_theme = themes[18]
|
||||||
local webinar_overrides = {
|
local webinar_overrides = {
|
||||||
harfbuzz_features = { 'calt=0', 'clig=0', 'liga=0' },
|
harfbuzz_features = { 'calt=0', 'clig=0', 'liga=0' },
|
||||||
color_scheme = 'PencilLight',
|
color_scheme = 'PencilLight',
|
||||||
|
|
|
@ -48,6 +48,7 @@ gsl() { command git stash list $@ }
|
||||||
gss() { command git status -sbu $@ }
|
gss() { command git status -sbu $@ }
|
||||||
gsw() { command git switch $@ }
|
gsw() { command git switch $@ }
|
||||||
gup() { command git pull $@ }
|
gup() { command git pull $@ }
|
||||||
|
gwt() { command git worktree $@ }
|
||||||
groot() { cd $(command git rev-parse --show-toplevel) || return 1 }
|
groot() { cd $(command git rev-parse --show-toplevel) || return 1 }
|
||||||
ggrep() { command git grep $@ }
|
ggrep() { command git grep $@ }
|
||||||
gdiff() { command git diff --color $@; }
|
gdiff() { command git diff --color $@; }
|
||||||
|
|
|
@ -18,35 +18,35 @@ typeset -A prompt_symbols=(
|
||||||
bang $'\n\U01f525'
|
bang $'\n\U01f525'
|
||||||
)
|
)
|
||||||
# gruvbox
|
# 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=(
|
typeset -A prompt_colors=(
|
||||||
fg 253
|
fg '#ebdbb2'
|
||||||
user 24
|
user '#458588'
|
||||||
root 124
|
root '#cc241d'
|
||||||
ssh 66
|
ssh '#d65d0e'
|
||||||
host 238
|
host '#504945'
|
||||||
cwd 236
|
cwd '#3c3836'
|
||||||
ro 88
|
ro '#d65d0e'
|
||||||
git_branch 238
|
git_branch '#504945'
|
||||||
git_unstaged 166
|
git_unstaged '#d65d0e'
|
||||||
git_untracked 124
|
git_staged '#458588'
|
||||||
git_unmerged 171
|
git_untracked '#cc241d'
|
||||||
git_staged 54
|
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() {
|
precmd.prompt.init() {
|
||||||
typeset -g prompt_string= prev_color=
|
typeset -g prompt_string= prev_color=
|
||||||
|
|
Loading…
Reference in a new issue