mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
for legacy vim colorscheme
This commit is contained in:
parent
487be9193c
commit
441d26b75d
@ -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(".")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user