Installed vim-pencil for tex and markdown
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user