summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.config/nvim/init.vim4
1 files changed, 1 insertions, 3 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 6ce39e4..131a6ab 100755
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -172,9 +172,7 @@ autocmd FileType vimwiki,latex,tex setlocal formatprg=/home/yigit/.local/bin/sen
172" runs a script that cleans out tex build files whenever I close out of a .tex file. 172" runs a script that cleans out tex build files whenever I close out of a .tex file.
173autocmd VimLeave *.tex !texclear % 173autocmd VimLeave *.tex !texclear %
174 174
175" enable Goyo by default for mutt writing 175" if you enable Goyo for neomutt writing
176autocmd BufRead,BufNewFile /tmp/neomutt* let g:goyo_width=80
177autocmd BufRead,BufNewFile /tmp/neomutt* :Goyo
178autocmd BufRead,BufNewFile /tmp/neomutt* map ZZ :Goyo\|x!<CR> 176autocmd BufRead,BufNewFile /tmp/neomutt* map ZZ :Goyo\|x!<CR>
179autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q!<CR> 177autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q!<CR>
180 178