Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

set keybinding for compiling c++ program in neovim

autocmd filetype cpp nnoremap <F10> :w !g++ -std=c++14 -O2 -Wall % -o %:r && %:r.exe
Source by codeforces.com #
 
PREVIOUS NEXT
Tagged: #set #keybinding #compiling #program #neovim
ADD COMMENT
Topic
Name
9+5 =