init.vim: compile to cache instead of local directory
This commit is contained in:
parent
431c7dcdd8
commit
db1c355282
@ -52,8 +52,8 @@ au BufEnter *.c,*.cpp,*.h,*.hpp packadd termdebug
|
|||||||
|
|
||||||
tnoremap <silent> <esc> <c-\><c-n><c-\><c-n>
|
tnoremap <silent> <esc> <c-\><c-n><c-\><c-n>
|
||||||
|
|
||||||
nnoremap <silent> <f3> :Termdebug a.out<cr>
|
nnoremap <silent> <f3> :execute "Termdebug" $HOME .. "/.cache/termdebug.out"<cr>
|
||||||
nnoremap <silent> <f4> :!g++ -g %:p<cr>
|
nnoremap <silent> <f4> :!g++ -g %:p -o ~/.cache/termdebug.out<cr>
|
||||||
nnoremap <silent> <f5> :Run<cr>
|
nnoremap <silent> <f5> :Run<cr>
|
||||||
nnoremap <silent> <f6> :Stop<cr>
|
nnoremap <silent> <f6> :Stop<cr>
|
||||||
nnoremap <silent> <f8> :Clear<cr>
|
nnoremap <silent> <f8> :Clear<cr>
|
||||||
@ -96,6 +96,9 @@ let g:vimtex_compiler_latexmk = {
|
|||||||
\ ],
|
\ ],
|
||||||
\}
|
\}
|
||||||
|
|
||||||
|
" spellcheck
|
||||||
|
au BufEnter *.tex set spell spelllang=en_ca
|
||||||
|
|
||||||
" Autowrite in tex files
|
" Autowrite in tex files
|
||||||
" au TextChanged,TextChangedI *.tex silent write
|
" au TextChanged,TextChangedI *.tex silent write
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user