Baby steps

although the Arduino IDE itself is painful to use in my opinion

kwrite (or Notepad2 if you're using Windoze) has good syntax highlighting for C and C++.

I only use the IDE as a sort-of "GUI make" and serial terminal. Just load the source and go.