diff options
Diffstat (limited to '.config/nvim')
| -rwxr-xr-x | .config/nvim/init.vim | 4 |
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. |
| 173 | autocmd VimLeave *.tex !texclear % | 173 | autocmd VimLeave *.tex !texclear % |
| 174 | 174 | ||
| 175 | " enable Goyo by default for mutt writing | 175 | " if you enable Goyo for neomutt writing |
| 176 | autocmd BufRead,BufNewFile /tmp/neomutt* let g:goyo_width=80 | ||
| 177 | autocmd BufRead,BufNewFile /tmp/neomutt* :Goyo | ||
| 178 | autocmd BufRead,BufNewFile /tmp/neomutt* map ZZ :Goyo\|x!<CR> | 176 | autocmd BufRead,BufNewFile /tmp/neomutt* map ZZ :Goyo\|x!<CR> |
| 179 | autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q!<CR> | 177 | autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q!<CR> |
| 180 | 178 | ||
