diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2024-05-23 13:03:41 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2024-05-23 13:03:41 -0400 |
| commit | 441d26b75d535bf9291b7f994f46f30e35e0c090 (patch) | |
| tree | 301e7dc71a3fbe010f5a75c1b1a9b4ffb01a301e | |
| parent | 487be9193cecbe56a39b2e33475c113456788f7b (diff) | |
| download | eibhear-441d26b75d535bf9291b7f994f46f30e35e0c090.tar.gz eibhear-441d26b75d535bf9291b7f994f46f30e35e0c090.tar.zst eibhear-441d26b75d535bf9291b7f994f46f30e35e0c090.zip | |
for legacy vim colorscheme
| -rw-r--r-- | .config/nvim/init.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 5b0bd4e..a222567 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -31,6 +31,7 @@ set noshowmode set noruler set laststatus=0 set noshowcmd +colorscheme vim " Some basics: nnoremap c "_c @@ -108,10 +109,9 @@ set noshowcmd cabbrev w!! execute 'silent! write !sudo tee % >/dev/null' <bar> edit! " Enable Goyo by default for mutt writing - autocmd BufRead,BufNewFile /tmp/neomutt* let g:goyo_width=80 - 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 ZQ :Goyo\|q!<CR> + autocmd BufRead,BufNewFile /tmp/neomutt* :Goyo 80 | call feedkeys("jk") + autocmd BufRead,BufNewFile /tmp/neomutt* map ZZ :Goyo!\|x!<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 autocmd BufWritePre * let currPos = getpos(".") |
