Disable Goyo for my local wiki

Goyo is a great plugin to help me writing docs, and other longer texts.
But my wiki sometimes contains texts which are notplaying nicely with
Goyo, therefore I deactivate it by default. I can toggle it with
`<leader>gg` anyway.
This commit is contained in:
2022-08-08 11:26:11 +02:00
parent 008d103785
commit 13d64b1df8

3
.vimrc
View File

@@ -184,7 +184,8 @@ augroup configgroup
autocmd FileType asciidoc nnoremap <silent> <C-s> :call system('asciidoctor-pdf *.adoc')<CR>
autocmd BufRead,BufNewFile diary.wiki VimwikiDiaryGenerateLinks
autocmd BufRead,BufNewFile *.wiki Goyo 80 | set wrap
autocmd BufRead,BufNewFile *.wiki set wrap nonumber norelativenumber
"autocmd BufRead,BufNewFile *.wiki Goyo 80 | set wrap
autocmd FileType vimwiki set tabstop=2 softtabstop=2 shiftwidth=2 expandtab foldlevel=10
autocmd FileType vimwiki nnoremap <Leader>d :VimwikiDiaryIndex<CR>
autocmd FileType vimwiki nnoremap <Leader>to :VimwikiTOC<CR>