I am a beginner user of vim and I use it to write my C/C++ code in
Ubuntu. Every time I finished a C code and I want to compile it, I have
to type:
:gcc -o mycfile.out mycfile.c
How can I map this command to a shortcut key like F12?

See `:help :make` and `:help compiler-select` and `:help :map`

Reply via email to