How to Implement a Simple Code Runner in Neovim
To implement a code runner in neovim you'll have to write a script, you can just copy the following script, written in VimScript into you init.vim:
map <F5> :call CompileRunGcc()<CR>
func! CompileRunGcc()
exec "w"
if &filetype == 'c'
exec "!gcc % -o...
blogs.chaitanyashahare.com1 min read