Does anybody fancy adjusting this library for Arduino
tell the arduino IDE, via preferences, that you're using an external editor.
Yea EMACS! Me too.Quotetell the arduino IDE, via preferences, that you're using an external editor.I find that this works really well, actually. It's one of those really simple-to-implement "compromises" that looks a lot better in practice than when described; essentially it turns the Arduino IDE into a one-click compile/upload engine, and lets all the editing happen elsewhere.
export EDITOR="$(which emacsclient) -n -c"export VISUAL=$EDITORexport EMACSCLIENT=$EDITORexport ALTERNATE_EDITOR="$EDITOR -a nano"alias edit=$ALTERNATE_EDITOR
@gregWow, really cool! Unfortunately I'm not into emacs (I'm of the vim church :-) ) I obtain a (somewhat) similar result on ssh-administered machines with tmux (or screen). That emacs daemon mode seems more powerful, though. I wonder if vi has one too (or anything close) ?