Compare commits

...

3 Commits

Author SHA1 Message Date
Peter J. Holzer 3decf70778 Use .nvm if present 2024-05-23 11:24:24 +02:00
Peter J. Holzer 434ed84750 Make ColorColumn and Comment less garish, Statement brighter 2024-05-17 10:50:43 +02:00
Peter J. Holzer a404a33d56 Mark common line lengths 2024-05-11 16:51:18 +02:00
3 changed files with 11 additions and 2 deletions

View File

@ -12,7 +12,8 @@ if exists("syntax_on")
endif endif
let g:colors_name = "hjp-dark" 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 Constant term=underline ctermfg=201 guifg=Magenta
hi Error term=reverse ctermfg=15 ctermbg=9 guifg=White guibg=Red 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 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 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 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 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 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 " Use color 226 (pale yellow) instead of the default yellow, because I refined

1
.vimrc
View File

@ -1,6 +1,7 @@
set ai set ai
" Disable (ab)use of X11 selection " Disable (ab)use of X11 selection
set clipboard= set clipboard=
set colorcolumn=72,80,100,132
set comments=s1:/*,mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:-,n:\| set comments=s1:/*,mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:-,n:\|
set expandtab set expandtab
set exrc set exrc

7
.zshrc
View File

@ -152,3 +152,10 @@ fi
# for new style completion: # for new style completion:
autoload -U compinit autoload -U compinit
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