Add spell check to vim latex
This commit is contained in:
@@ -4,7 +4,7 @@ setlocal colorcolumn=81
|
|||||||
setlocal textwidth=80
|
setlocal textwidth=80
|
||||||
|
|
||||||
" Document structuring
|
" Document structuring
|
||||||
nnoremap ;be i\begin{(<>)}<Return><Tab><Return>\end{(<>)}<Esc>kk^
|
nnoremap ;be i\begin{(<>)}<CR><Tab><CR>\end{(<>)}<Esc>kk^
|
||||||
nnoremap ;s i\section{}<Return>(<>)<Esc>k$i
|
nnoremap ;s i\section{}<Return>(<>)<Esc>k$i
|
||||||
|
|
||||||
" Text formatting
|
" Text formatting
|
||||||
@@ -15,3 +15,10 @@ inoremap ;e \emph{}(<>)<Esc>T{i
|
|||||||
|
|
||||||
" Next section
|
" Next section
|
||||||
noremap <silent> .. <Esc>/(<>)<Enter>"_c4l
|
noremap <silent> .. <Esc>/(<>)<Enter>"_c4l
|
||||||
|
|
||||||
|
" Enable/disable spell check
|
||||||
|
noremap <F7> <Esc>:setlocal spell spelllang=en_us,nl<CR>
|
||||||
|
noremap <F8> <Esc>:setlocal nospell<CR>
|
||||||
|
|
||||||
|
" Start spell check when vim is run
|
||||||
|
autocmd VimEnter * call feedkeys("\<F7>")
|
||||||
|
|||||||
Reference in New Issue
Block a user