From 434ed847500e8487ae036cb57339d39eb0b43723 Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Fri, 17 May 2024 10:50:43 +0200 Subject: [PATCH 1/2] Make ColorColumn and Comment less garish, Statement brighter --- .vim/colors/hjp-dark.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.vim/colors/hjp-dark.vim b/.vim/colors/hjp-dark.vim index beaa0e6..87b2c4a 100755 --- a/.vim/colors/hjp-dark.vim +++ b/.vim/colors/hjp-dark.vim @@ -12,7 +12,8 @@ if exists("syntax_on") endif let g:colors_name = "hjp-dark" -hi Comment term=bold ctermfg=88 ctermbg=White guifg=Red +hi ColorColumn ctermbg=238 +hi Comment term=bold ctermfg=246 ctermbg=Black guifg=Red hi Constant term=underline ctermfg=201 guifg=Magenta hi Error term=reverse ctermfg=15 ctermbg=9 guifg=White guibg=Red hi ErrorMsg term=standout cterm=NONE ctermfg=226 ctermbg=DarkRed gui=NONE guifg=Yellow guibg=DarkRed @@ -23,7 +24,7 @@ hi Normal hi PreProc term=underline ctermfg=Magenta ctermbg=0 guifg=Purple hi Search term=reverse cterm=NONE ctermfg=White ctermbg=19 gui=NONE guifg=Black guibg=Cyan hi Special term=bold ctermfg=Yellow ctermbg=NONE guifg=Magenta -hi Statement term=bold ctermfg=105 gui=NONE guifg=Brown +hi Statement term=bold ctermfg=117 gui=NONE guifg=Brown hi Underlined term=underline cterm=underline ctermfg=163 gui=underline guifg=SlateBlue " Use color 226 (pale yellow) instead of the default yellow, because I refined From 3decf707787484029218e46f5d736bdcab922a3e Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Tue, 8 Aug 2023 15:51:24 +0200 Subject: [PATCH 2/2] Use .nvm if present --- .zshrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.zshrc b/.zshrc index da138ea..389d147 100644 --- a/.zshrc +++ b/.zshrc @@ -152,3 +152,10 @@ fi # for new style completion: autoload -U compinit compinit + +# NVM +if [ -d "$HOME/.nvm" ] +then + export NVM_DIR="$HOME/.nvm" + [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +fi