nvim: bring back vim colorscheme

Not the same as nvim 0.9, but good enough.
This commit is contained in:
Motiejus Jakštys 2024-11-20 09:26:52 +02:00
parent 591aca8408
commit 6012256f6b

View File

@ -6,10 +6,14 @@ set laststatus=1 diffopt+=algorithm:patience
nnoremap <Leader>\ gqj nnoremap <Leader>\ gqj
command OLD :enew | setl buftype=nofile | 0put =v:oldfiles | nnoremap <buffer> <CR> :e <C-r>=getline('.')<CR><CR> command OLD :enew | setl buftype=nofile | 0put =v:oldfiles | nnoremap <buffer> <CR> :e <C-r>=getline('.')<CR><CR>
" nvim 0.10 uses bland colors. Necessary habits don't die.
colorscheme vim
" https://vi.stackexchange.com/a/39451 " https://vi.stackexchange.com/a/39451
set maxmempattern=5000 set maxmempattern=5000
call matchadd('ColorColumn', '\%81v', 100) call matchadd('ColorColumn', '\%81v', 100)
" thanks to drew de vault's vimrc, except swearing " thanks to drew de vault's vimrc, except swearing
set mouse= set mouse=
set backupdir=~/.cache directory=~/.cache set backupdir=~/.cache directory=~/.cache