diff options
author | Yigit Sever | 2020-11-06 20:58:01 +0300 |
---|---|---|
committer | Yigit Sever | 2020-11-06 20:58:01 +0300 |
commit | 3fb15ea8084e4a498c823de495f715d9a4d9ce97 (patch) | |
tree | cf77675a2b4a5af7eb0dede4981056ea49b56541 /.config/nvim | |
parent | c1d64672ca484e9f75db555194ce34b200e3b77d (diff) | |
download | dotfiles-3fb15ea8084e4a498c823de495f715d9a4d9ce97.tar.gz dotfiles-3fb15ea8084e4a498c823de495f715d9a4d9ce97.tar.bz2 dotfiles-3fb15ea8084e4a498c823de495f715d9a4d9ce97.zip |
Goyo for mutt was ass
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 | ||