commit 5851e9abd018d7638cf3f9cc86bbc68804c96144
parent 4b43600a9c63ef372f938f69c4875134e4809337
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 8 Mar 2019 11:27:58 +0100
Reduce number of colors
Diffstat:
2 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/links/.vim/plugin/appearance.vim b/links/.vim/plugin/appearance.vim
@@ -7,29 +7,29 @@ set colorcolumn=+1
function! ColorSchemeTweaks() abort
- highlight ColorColumn ctermbg=0
+ highlight ColorColumn ctermbg=7
highlight Normal cterm=NONE ctermfg=NONE ctermbg=NONE
highlight Search cterm=NONE ctermfg=0 ctermbg=2
highlight MatchParen cterm=NONE ctermfg=255 ctermbg=199
" tab, nbsp, trail
- highlight SpecialKey ctermfg=0 guifg=#555555
+ highlight SpecialKey ctermfg=7 guifg=#555555
" eol, extends, precedes
- highlight NonText ctermfg=0 guifg=#555555
+ highlight NonText ctermfg=7 guifg=#555555
" split divider appearance
- highlight! VertSplit ctermfg=0 guifg=#555555 ctermbg=NONE term=NONE
+ highlight VertSplit ctermfg=7 guifg=#555555 ctermbg=15 term=NONE
" hide end-of-buffer tilde symbols
highlight EndOfBuffer cterm=NONE ctermfg=0 ctermbg=NONE
endfunction
-" augroup ColorSchemeCmds
-" autocmd ColorScheme * call ColorSchemeTweaks()
-" augroup end
+augroup ColorSchemeCmds
+ autocmd ColorScheme * call ColorSchemeTweaks()
+augroup end
augroup GVimTweaks
if has("gui_running")
@@ -49,7 +49,7 @@ augroup GVimTweaks
augroup end
"colorscheme tender
-colorscheme default
+colorscheme adbasic
augroup AleAppearance
let g:ale_sign_error = '✖'
diff --git a/links/.zshrc b/links/.zshrc
@@ -159,23 +159,23 @@ git_modified() {
function prompt_with_vimode {
#echo -e "\a"
echo
- echo -n '%(1j.%{$fg[yellow]%}%jbg %{$reset_color%}.)' # background jobs
+ echo -n '%(1j.%{$fg[white]%}%jbg %{$reset_color%}.)' # background jobs
echo -n "$1"
[ -z "$1" ] && # show prompt symbol if no insert/normal mode is passed
- echo -n '%(!.%{$fg_bold[red]%}#.%{$fg[green]%}$)%{$reset_color%}'
+ echo -n '%(!.%{$fg_bold[red]%}#.%{$fg[black]%}$)%{$reset_color%}'
echo -n '%{$reset_color%} '
}
insert_mode=''
-normal_mode='%{$fg_bold[white]%}N' # white and bold N
+normal_mode='%{$fg_bold[black]%}N' # normal mode indicator
rprompt() {
echo -n "%(?..%{$fg[red]%}[%?]%{$reset_color%})" # return status
- echo -n "%{$fg[green]%}${EXECTIME}%{$reset_color%} " # runtime of prev cmd
- echo -n "%B%{$fg[cyan]%}%~%{$reset_color%} " # pwd
+ echo -n "%{$fg[white]%}${EXECTIME}%{$reset_color%} " # runtime of prev cmd
echo -n "%{$fg[cyan]%}$(git_branch)%{$reset_color%}" # git branch
+ echo -n "%B%{$fg[black]%}%~%{$reset_color%}" # pwd
[ "$USER" != "ad" ] && echo -n "%n@" #username
- echo -n "%m" # hostname
+ [ "$HOST" != "idkfa" ] && echo -n "%m" #hostname
}
PROMPT="$(prompt_with_vimode $insert_mode)"