NogDog;11037535 wrote:
(Actually, I used to be halfway decent with EMACS and much preferred it over vi, but sadly, those skills have largely eroded away.)
Assuming your LISP skills have not degraded at the same rate, you should be able to fix emacs to work like vi 😉
Umm, and… not sure which editor wins out on this. But you can call it vi++ if you want to 🙂
Weedpacket;11037563 wrote:ed, man! man ed
The closest equivalent would be edlin on a microsoft platform
… it continues to be included in the 32-bit versions of current Microsoft operating systems.
I'll +1 vi and emacs for editing and smaller scripts / projects. But personally I believe that if you are working on anything beyond the scope of a few files of a few hundred lines each, you really should get an IDE. Necessary? Definitely not. But it will save you lots of time in the long run. My current favourite is PhpStorm. Getting xdebug integration is super easy and takes no more than a few minutes at most. And it works via the web server, meaning you set the break points server side, but interface with the code through your browser.
Other things I like are
- data sources: define connections to your databases, and it will check identifiers in SQL strings in your php code as you type
- jshint / jslint integration
- includes tools to handle your git merges, conflicts, etc. If you screw up, you may still need the command line. But if you don't, you won't 😉
- built in code styles for psr1/psr2
- everything Sneaky describe for his editor, but with different (and cooler!) keyboard shortcuts for the same features 🙂