Skip to content

Instantly share code, notes, and snippets.

@ayoubjamouhi
Created December 10, 2020 00:26
Show Gist options
  • Save ayoubjamouhi/200159a9b18fbff0da645e708cb9668a to your computer and use it in GitHub Desktop.
Save ayoubjamouhi/200159a9b18fbff0da645e708cb9668a to your computer and use it in GitHub Desktop.
autocmd FileType c nnoremap <buffer> <F5> :w<CR>:!gcc -o %< % && ./%< <CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment