How to map F9 key to following action:
1. run buildin make (!make)
2. run shell command "make run"


I tried:


map <F9> <F2>:wall<CR>:!clear<CR>:make && !make run<CR>

but then the F9 key results in:

Press ENTER or type command to continue
g++ a.cpp -o a.elf -lboost_thread -s -pthread
/bin/bash: !make: command not found

so the "make" part works, but "!make run " fails... why is it so?



Reply via email to