From 3fb15ea8084e4a498c823de495f715d9a4d9ce97 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 6 Nov 2020 20:58:01 +0300 Subject: Goyo for mutt was ass --- .config/nvim/init.vim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to '.config/nvim') 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 " runs a script that cleans out tex build files whenever I close out of a .tex file. autocmd VimLeave *.tex !texclear % -" enable Goyo by default for mutt writing -autocmd BufRead,BufNewFile /tmp/neomutt* let g:goyo_width=80 -autocmd BufRead,BufNewFile /tmp/neomutt* :Goyo +" if you enable Goyo for neomutt writing autocmd BufRead,BufNewFile /tmp/neomutt* map ZZ :Goyo\|x! autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q! -- cgit v1.2.3-70-g09d2