set keybinding for compiling c++ program in neovim code example
Example: set keybinding for compiling c++ program in neovim
autocmd filetype cpp nnoremap <F10> :w !g++ -std=c++14 -O2 -Wall % -o %:r && %:r.exe
autocmd filetype cpp nnoremap <F10> :w !g++ -std=c++14 -O2 -Wall % -o %:r && %:r.exe