notepad++ - Which command line text editor has the closest keybindings to Notepadd++, Gedit, or Kate (or any modern CUA style editor)?
2013-10
I'm looking for a text editor that has an amazing common user access (CUA) mode (or can be configured to have it) that resembles closely modern editors like Notepad++, Gedit, Kate, Sublime, etc.
I've tried Emacs cua-mode and made some custom keybindings for mcedit and they behave similar, but they just are not quite as close to Notepad++, Gedit, or Sublime. I'm wondering if anyone has done extensive set up of any text editor and gotten it to be almost exactly the normal modern text editors in terms of CUA mode.
Other editors that I've tried include diakonos and tilde, but they also don't emulate modern CUA mode as much as I'm aiming for.
Maybe such an editor doesn't exist? Or maybe someone has hacked the heck out of emacs to make this happen (it seems to be the most configurable editor)?
If such a command-line editor doesn't exist, it'd be a fun project to make one that emulates the features in Sublime Text (or at least Gedit, Notepad++, and Kate).
In Windows, every text editor I encountered allowed me to drag and drop any file type into it and it opened. Apparently, Mac app developers have a different philosophy because I can't find a simple free text editor for OS X that will do this. TextWrangler came highly recommended but it can't accomplish this simple feat. Can anyone suggest one?
Edit apparently on at least some editors, there is a distinction between drag/drop in the document list area vs. the typing area. In addition to the accepted answer, this is one thing to be aware of. I still don't know why it doesn't work in TextEdit, but this is true for TextWrangler and Smultron.
For Textwrangler - You just need to drag it to the Documents draw and a blah.hdl file opened perfectly well for me. It even will try to open binary files that way, but may ask you for an encoding to use...
To change it asking what to do you can track down a setting in the Textwrangler Text Files preferences:
Also, works for me perfectly well (renamed a file blah.hdl and dragged) in Textmate. In fact I can drag anything into Textmate and it will "open" it (no snarky-ness intended ;-)
My vote is for jEdit.
As a bonus it's Java-based, and therefore cross-platform for the times when you are forced to abandon your beloved Mac.
Er, TextEdit. Drag any file onto the Dock icon and it will open it.
Try this: Vim (Vi IMproved) for Mac OS X
Vim is a highly configurable text editor, freely available for many different platforms. For general information, advocacy, and the latest news on Vim in general, visit the Vim Home Page. This site is specifically devoted to Vim on the Macintosh. This page is mainly devoted to binary distributions for Mac OS X.