Skip to content

Instantly share code, notes, and snippets.

@MartyLake
Last active February 12, 2021 22:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MartyLake/8dd0e88724f5804c1f755a901a0423ce to your computer and use it in GitHub Desktop.
Save MartyLake/8dd0e88724f5804c1f755a901a0423ce to your computer and use it in GitHub Desktop.
.local.vimrc
"call make from the root folder
let &l:makeprg = 'cd ' . expand('<sfile>:p:h') . ' && make'
augroup fix_path_for_catch2_output_results
autocmd!
au QuickFixCmdPre * lcd <sfile>:p:h/build
augroup END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment