Hi, everyone:

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?

Thanks a lot.

TJ


Reply via email to