summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorYigit Sever2020-11-06 20:58:01 +0300
committerYigit Sever2020-11-06 20:58:01 +0300
commit3fb15ea8084e4a498c823de495f715d9a4d9ce97 (patch)
treecf77675a2b4a5af7eb0dede4981056ea49b56541 /.config
parentc1d64672ca484e9f75db555194ce34b200e3b77d (diff)
downloaddotfiles-3fb15ea8084e4a498c823de495f715d9a4d9ce97.tar.gz
dotfiles-3fb15ea8084e4a498c823de495f715d9a4d9ce97.tar.bz2
dotfiles-3fb15ea8084e4a498c823de495f715d9a4d9ce97.zip
Goyo for mutt was ass
Diffstat (limited to '.config')
-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