From db1c355282e410eaf5823a6e4c67d04e3d3e1450 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Sun, 1 Jan 2023 14:20:01 -0500 Subject: [PATCH] init.vim: compile to cache instead of local directory --- src/.config/nvim/init.vim | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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