Vim [compile and] run shortcut
Vim [compile and] run shortcut Question: Basically what I want is a keyboard shortcut in vim that lets me [compile and] run the currently being edited C, C++ or Python program. In psuedocode: when a shortcut key is pressed: if current_extension == ‘c’ then shell: gcc this_filename.c -o this_filename_without_extension if retcode == 0 then shell: …