What you are after can be done in either Emacs or (G)Vim. The former proibably being the easier of the two, if you're unfamiliar.

The program you use has nothing to do with "learning" C...