aboutsummaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/.vimrc b/.vimrc
index 978db21..b9a2e4a 100644
--- a/.vimrc
+++ b/.vimrc
@@ -397,12 +397,13 @@ function! Settings_tex()
setlocal shiftwidth=4
setlocal tabstop=4
setlocal softtabstop=4
+ setlocal spell
"mappings
nnoremap <buffer> -- O%<Space>
nnoremap <buffer> <Leader>c :!latex -output-format=pdf "%"<CR><CR>
nnoremap <buffer> <Leader>C :!latex -output-format=pdf "%"<CR>
- nnoremap <buffer> <Leader>x :!xelatex -output-format=pdf "%"<CR><CR>
- nnoremap <buffer> <Leader>X :!xelatex -output-format=pdf "%"<CR>
+ nnoremap <buffer> <Leader>x :!xelatex "%"<CR><CR>
+ nnoremap <buffer> <Leader>X :!xelatex "%"<CR>
nnoremap <buffer> <Leader>w :call Settings_sub_wmodetoggle()<CR>
endfunction