Installed vim-pencil for tex and markdown

This commit is contained in:
2023-06-17 23:18:58 +02:00
parent 42e1e25855
commit 3a2e42c76e
3 changed files with 6 additions and 2 deletions

View File

@@ -22,8 +22,9 @@ let Tex_Leader="~"
set grepprg=grep\ -nH\ $*
let g:tex_flavor='latex'
set iskeyword+=:
autocmd BufRead *.tex set tw=100
let g:pencil#textwidth=100
autocmd BufRead *.tex set spell
autocmd BufRead,BufEnter *.tex nnoremap <F9> :w <CR> :!/usr/bin/waf configure build <CR>
autocmd BufRead,BufEnter *.tex let b:AutoPairs = {'(':')', '[':']', '{':'}'}
autocmd FileType tex call SetServerName()
autocmd FileType tex call pencil#init({'wrap': 'hard', 'autoformat': 1})