Added spell

Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2021-04-06 11:08:04 +02:00
parent 0e68efd9aa
commit 7a1b00202a
1 changed files with 3 additions and 0 deletions

View File

@ -145,6 +145,9 @@ vnoremap <A-Up> :m '<-2<CR>gv=gv
cnoremap w!! execute 'silent! write !sudo tee % >/dev/null' <bar> edit!
map <F5> :setlocal spell! spelllang=en_gb<CR>
map <F6> :setlocal spell! spelllang=pl<CR>
" latex
let g:tex_flavor = "latex"
autocmd BufWritePost *.tex silent! execute "!pdflatex --shell-escape -synctex=1 -interaction=nonstopmode % > /dev/null " | redraw!