diff --git a/src/.config/nvim/init.vim b/src/.config/nvim/init.vim index f19e7e4..3408353 100755 --- a/src/.config/nvim/init.vim +++ b/src/.config/nvim/init.vim @@ -52,8 +52,8 @@ au BufEnter *.c,*.cpp,*.h,*.hpp packadd termdebug tnoremap -nnoremap :Termdebug a.out -nnoremap :!g++ -g %:p +nnoremap :execute "Termdebug" $HOME .. "/.cache/termdebug.out" +nnoremap :!g++ -g %:p -o ~/.cache/termdebug.out nnoremap :Run nnoremap :Stop nnoremap :Clear @@ -96,6 +96,9 @@ let g:vimtex_compiler_latexmk = { \ ], \} +" spellcheck +au BufEnter *.tex set spell spelllang=en_ca + " Autowrite in tex files " au TextChanged,TextChangedI *.tex silent write