Possible software: Vim
In a heavy IDE, you need to click a button or some keyboard shortcuts. Unless you frequently use the keystrokes, you’ll likely forget them since they are usually non-transferable IT skills.
It’s different in Vim. Since it’s an FLOSS programmable editor, you can add whatever plugins and extra functions you like.1 You can adjust you VIMRC file so that the editing environment won’t have too many undesirable changes.
What are the good things?
- Diminished role of mouse and more use of keyboard due to modes.
- Syntax highlighting and file type detection.
How? (Doesn’t need c.vim)
- Set up
makefile(simple tutorial about makefile).
:!./%<on *nix (or simply
:!%<on M$ Win*).
set makeprg=mingw32-makein VIMRC for MinGW make (more details about
%stands for the current file, and
<stands for the file name without extension.
- In the whole process, you don’t have to leave Vim and keyboard.
- The commands are the same whatever your files are (already
makefile), so you don’t waste time to think and type in the correct name.
2 quotes from Sharpe (I don’t remember the exact wordings):
“The battle is not in the hands of who give the most shots. It should be those who shot the best.”
“A good soldier can fire 3–4 rounds a minute.”
My sample makefile:
1 2 3 4
Note: Insert tabs for indentation, not whitespaces. If the
compiled program is
hello.exe, perhaps the extension name is also
rm. (I have never tested it.)
Follow the menu and you’ll be also good.2