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
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

1
.vimrc
View File

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

7
.zshrc
View File

@ -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