for legacy vim colorscheme

This commit is contained in:
Luke Smith 2024-05-23 13:03:41 -04:00
parent 487be9193c
commit 441d26b75d
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

View File

@ -31,6 +31,7 @@ set noshowmode
set noruler set noruler
set laststatus=0 set laststatus=0
set noshowcmd set noshowcmd
colorscheme vim
" Some basics: " Some basics:
nnoremap c "_c nnoremap c "_c
@ -108,10 +109,9 @@ set noshowcmd
cabbrev w!! execute 'silent! write !sudo tee % >/dev/null' <bar> edit! cabbrev w!! execute 'silent! write !sudo tee % >/dev/null' <bar> edit!
" Enable Goyo by default for mutt writing " Enable Goyo by default for mutt writing
autocmd BufRead,BufNewFile /tmp/neomutt* let g:goyo_width=80 autocmd BufRead,BufNewFile /tmp/neomutt* :Goyo 80 | call feedkeys("jk")
autocmd BufRead,BufNewFile /tmp/neomutt* :Goyo | set bg=light autocmd BufRead,BufNewFile /tmp/neomutt* map ZZ :Goyo!\|x!<CR>
autocmd BufRead,BufNewFile /tmp/neomutt* map ZZ :Goyo\|x!<CR> autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo!\|q!<CR>
autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q!<CR>
" Automatically deletes all trailing whitespace and newlines at end of file on save. & reset cursor position " Automatically deletes all trailing whitespace and newlines at end of file on save. & reset cursor position
autocmd BufWritePre * let currPos = getpos(".") autocmd BufWritePre * let currPos = getpos(".")