I love TextMate on the Mac. Personally I think it's the best thing since sliced bread :)
The only problem is that it's not cross platform and it's not available when you're connecting over SSH into a server to fix some problems. I use Vi most of the time to just edit configuration files, etc, but I found it lacks the power I need for doing serious hacking (for all the vi lovers out there, I'm willing to admit this is due to my ignorance).
I'm re-trying to learn Emacs to do some Erlang hacking but I've always been turned off the by the relatively cryptic key combinations.
Print yourself an emacs cheatsheet, key combinations get a little cryptic but they are the fastest way to interact with an editor (I think its probably good to use them even in other editors)
Aquamacs is a pretty good crutch if you want to wean yourself off of standard keyboard shortcuts slowly. Basically, 'Cmd' + key does the Emacs thing most closely corresponding to the usual thing a Mac program would do. Cmd-O for Open, Cmd-X to cut, etc. This works because the main Emacs key combinations use Ctrl, of course.
Lately I've been using Komodo edit from ActiveState, for a few reasons: It's free (but not open source), cross-platform, optional vi (or emacs) key bindings, built-in FTP support, cool "toolbox" feature, code completion for a few scripting languages...
And it is based on the Mozilla platform, so it has extensions just like Mozilla products.
I was following intype from the beginning (because of the snippet functionality to tell you the truth) but while a usable version didn't came along i had to learn another one, so i went with emacs... if was love at 42th sight.
Sam is the coolest of the non-visual editors, but it's deceptive because it comes with a graphical mode. If you run with that off, though, it's ed on steroids.
Vi. The simplicity, speed, and the fact that it is installed on any *nix system by default are my favorite aspects of Vi. I've played around with Vim, but haven't migrated to it because I just don't use the features.
At times, I have been tempted to move to Emacs due to all its cool features but have not yet, maybe some day. Emacs in slime mode has been great to use while learning lisp.
Depends what I'm hacking. I actually use both vi and emacs -- vi for quick edits and emacs for more serious work. Eclipse for Java but nothing else. I'll resort to ed if I'm on a system where I don't have my emacs customizations and vi isn't vim.
currently I'm learning Emacs, and I'm loving it. For quick tasks (i.e.: config file, glue scripts) if emacs is not running (i.e.: connected on a server) then Vim.
Hmm, I've always found it odd how many people say they use emacs, but not for "quick" tasks. It's not like it takes long to start it up -- on my machine, emacs -f kill-emacs takes 0.12 seconds.
On one of my old machines, development server not my desktop:
edu@galileo:~$ time emacs -f kill-emacs
real 0m1.421s
user 0m0.092s
sys 0m0.052s
edu@galileo:~$ time vim --cmd :q
real 0m0.016s
user 0m0.008s
sys 0m0.004s
I have to add that if I run again emacs it loads pretty fast, but the first time it's slooow.
edu@galileo:~$ time emacs -f kill-emacs
real 0m0.136s
user 0m0.068s
sys 0m0.044s
And you don't even have to start up emacs at all. I keep mine running for months without exiting. You can use tramp mode for editing remote files if needed:
I prefer to use jEdit when I'm working on a project that I move between several different machines to work on - if I know I'll be developing on a mac, linux, and windows machine it's good to keep some sense of organization the same inside the text editor and it's plugins.
I'm basically the same, although I have viper and vimpulse modes switched on in emacs. (Years after switching from vim I still thought non-modal editing was an aberration, so I gave up trying to brainwash myself.)
And (very) occasionally I use ed to make small changes. That's mainly just to demonstrate my 1337ness to the one person who cares (me).
63 comments
[ 16.7 ms ] story [ 156 ms ] threadThe only problem is that it's not cross platform and it's not available when you're connecting over SSH into a server to fix some problems. I use Vi most of the time to just edit configuration files, etc, but I found it lacks the power I need for doing serious hacking (for all the vi lovers out there, I'm willing to admit this is due to my ignorance).
I'm re-trying to learn Emacs to do some Erlang hacking but I've always been turned off the by the relatively cryptic key combinations.
This sheet's a little basic, but its a start: http://ccrma.stanford.edu/guides/package/emacs/emacs.html
http://www.emacswiki.org/cgi-bin/wiki?CuaMode
And it is based on the Mozilla platform, so it has extensions just like Mozilla products.
http://e-texteditor.com/
Intype is another editor that's trying to bring Textmate to Windows, but it's not as polished as 'e':
http://intype.info
You should use ex :)
At work, it's Visual Studio 2005 + ViEmu + Visual Assist.
At times, I have been tempted to move to Emacs due to all its cool features but have not yet, maybe some day. Emacs in slime mode has been great to use while learning lisp.
I can see how what you describe 'zz' doing would be nice though.
For really stupid things, cat ;)
/[user@]machine:localfile
http://www.dabble.org/viallover/
Unfortunately, ViAllOver won't work in Komodo, TextMate, etc. since many editors don't use NSTextView.
emacs - as a user, for lisp, xml, text, html templates, everything that takes time. Launched at morning.
vi/vim - as a root/admin, for editing config files, especially on remote machines
notepad.exe - on windows, very rarely
...your interface to reality is unreliable?
And (very) occasionally I use ed to make small changes. That's mainly just to demonstrate my 1337ness to the one person who cares (me).
vi on nix