News for hackers. Stuff that matters.
Re:What's your favorite editor to hack with? by cstejerean on Saturday September 15, 2007 @11:19PM (#55131)
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.

Re:What's your favorite editor to hack with? by greendestiny on Sunday September 16, 2007 @02:42AM (#55179)
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)

This sheet's a little basic, but its a start: http://ccrma.stanford.edu/guides/package/emacs/emacs.html

Re:What's your favorite editor to hack with? by jimbokun on Sunday September 16, 2007 @10:14PM (#55482)
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.
Re:What's your favorite editor to hack with? by brlewis on Monday September 17, 2007 @04:14PM (#55881)
Cure for cryptic key combinations:

http://www.emacswiki.org/cgi-bin/wiki?CuaMode

Re:What's your favorite editor to hack with? by rms on Saturday September 15, 2007 @11:50PM (#55138)
Why regular Vi and not Vim?
Re:What's your favorite editor to hack with? by cstejerean on Saturday September 15, 2007 @11:53PM (#55140)
You are right, I actually use Vim not Vi, I don't like Vi much as it doesn't seem to like certain things, like key movements in insert mode.
Re:What's your favorite editor to hack with? by jmcantrell on Monday September 17, 2007 @03:56PM (#55874)
there are no movement commands in insert mode (to my knowledge) in vi
Re:What's your favorite editor to hack with? by bp on Sunday September 16, 2007 @02:35AM (#55174)
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.

Re:What's your favorite editor to hack with? by palish on Sunday September 16, 2007 @02:16PM (#55324)
Petsonally, I can't imagine being without "zz" to center my view. I don't know if Vi has an equivalent. "zb" and "zt" are nice, too.
Re:What's your favorite editor to hack with? by bp on Sunday September 16, 2007 @04:58PM (#55377)
I use Ctrl-U and Ctrl-D to reposition the screen with respect to the cursor, and it works out great.

I can see how what you describe 'zz' doing would be nice though.

Re:What's your favorite editor to hack with? by jimm on Sunday September 16, 2007 @09:14AM (#55256)
Re:What's your favorite editor to hack with? by paulgb on Saturday September 15, 2007 @11:39PM (#55136)
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.

Re:What's your favorite editor to hack with? by nablaone on Sunday September 16, 2007 @04:54AM (#55216)
i'm a schizophrenic:

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

Re:What's your favorite editor to hack with? by philh on Sunday September 16, 2007 @02:13PM (#55323)
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).

Re:What's your favorite editor to hack with? by gwenhwyfaer on Sunday September 16, 2007 @12:36PM (#55298)
> i'm a schizophrenic

...your interface to reality is unreliable?

Re:What's your favorite editor to hack with? by altay on Sunday September 16, 2007 @03:02PM (#55339)
vim. if you're hacking rails in vim, make sure to check out the rails.vim plugin (http://rails.vim.tpope.net/). it rocks. also, for general-purpose web dev, use the matchit plugin (http://www.vim.org/scripts/script.php?script_id=39) to balance your xml/html tags.
Re:What's your favorite editor to hack with? by comatose_kid on Sunday September 16, 2007 @07:01PM (#55421)
Clay tablets (in my lame attempt to be more hardcore than the 'vim and proud of it' club)
Re:What's your favorite editor to hack with? by daifuku on Sunday September 16, 2007 @12:19AM (#55147)
I've been using 'e' a bit. It's supposed to be the Textmate equivalent on Windows:

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

Re:What's your favorite editor to hack with? by palish on Sunday September 16, 2007 @01:17AM (#55156)
Vim.

At work, it's Visual Studio 2005 + ViEmu + Visual Assist.

Re:What's your favorite editor to hack with? by christefano on Sunday September 16, 2007 @04:27AM (#55209)
I generally use vim and have the ViAllOver input manager to add vi commands to other text editors.

http://www.dabble.org/viallover/

Unfortunately, ViAllOver won't work in Komodo, TextMate, etc. since many editors don't use NSTextView.

Re:What's your favorite editor to hack with? by weber on Sunday September 16, 2007 @12:26AM (#55149)
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.
Re:What's your favorite editor to hack with? by nreece on Sunday September 16, 2007 @07:45AM (#55238)
Notepad2 on Windows ( http://www.flos-freeware.ch/notepad2.html ), the best replacement for Notepad.

vi on nix

Re:What's your favorite editor to hack with? by jsnx on Sunday September 16, 2007 @02:56AM (#55182)
I use vim and gvim.
Re:What's your favorite editor to hack with? by jey on Sunday September 16, 2007 @01:05AM (#55153)
vim, obviously.
Re:What's your favorite editor to hack with? by far33d on Sunday September 16, 2007 @01:10AM (#55154)
Bah! Visual editors are so new-school.

You should use ex :)

Re:What's your favorite editor to hack with? by cturner on Sunday September 16, 2007 @04:17AM (#55206)
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.
Re:What's your favorite editor to hack with? by far33d on Monday September 17, 2007 @05:31PM (#55908)
ex is the same executable as vim/vi these days.

Re:What's your favorite editor to hack with? by cturner on Sunday September 23, 2007 @04:22AM (#58502)
are you sure this was meant to be in reply to me? :)
Re:What's your favorite editor to hack with? by dfranke on Sunday September 16, 2007 @02:40AM (#55177)
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.
Re:What's your favorite editor to hack with? by SwellJoe on Sunday September 16, 2007 @03:01AM (#55183)
Vim
Re:What's your favorite editor to hack with? by Goladus on Sunday September 16, 2007 @10:11AM (#55270)
emacs

Visual Studio for C#, though I haven't used it in awhile. Also sometimes IDLE for Python and Dev-C++ for C. (Though for C I mostly use emacs now)

Re:What's your favorite editor to hack with? by pc on Sunday September 16, 2007 @02:04AM (#55166)
PluggableTextMorph
Re:What's your favorite editor to hack with? by 3KWA on Sunday September 16, 2007 @03:49AM (#55201)
(g)Vim
Re:What's your favorite editor to hack with? by lucumo on Sunday September 16, 2007 @04:28AM (#55211)
Kate, mostly. Vim when I need to do a quick edit (I use xterms for a lot of stuff I do) or when logging in remotely.
Re:What's your favorite editor to hack with? by GreyLensman on Sunday September 16, 2007 @09:55AM (#55268)
emacs for general purpose and languages. Eclipse for Scala and Netbeans for Java. DrScheme for MzScheme.
Re:What's your favorite editor to hack with? by rnc000 on Sunday September 16, 2007 @10:38AM (#55278)
Eclipse. Plenty of good plugins available for many languages, excellent SVN/CVS integration.
Re:What's your favorite editor to hack with? by edu on Sunday September 16, 2007 @03:39AM (#55200)
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.

For really stupid things, cat ;)

Re:What's your favorite editor to hack with? by pc on Sunday September 16, 2007 @04:43AM (#55213)
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.
Re:What's your favorite editor to hack with? by edu on Sunday September 16, 2007 @06:59AM (#55237)
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
Re:What's your favorite editor to hack with? by kmt on Sunday September 16, 2007 @08:57PM (#55462)
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:

/[user@]machine:localfile

Re:What's your favorite editor to hack with? by jmcantrell on Monday September 17, 2007 @03:54PM (#55873)
the same as my favorite editor for everything... vim
Re:What's your favorite editor to hack with? by Leon on Sunday September 16, 2007 @07:14PM (#55426)
Nobody else likes using ed sometimes?
Re:What's your favorite editor to hack with? by motoko on Sunday September 16, 2007 @02:09AM (#55167)
emacs
Re:What's your favorite editor to hack with? by Zak on Sunday September 16, 2007 @02:35AM (#55173)
I learned it for Slime, and started using it for everything else when every other editor felt crippled.
Re:What's your favorite editor to hack with? by gwenhwyfaer on Sunday September 16, 2007 @12:37PM (#55299)
vi - preferably elvis, because I'm a contrarian (and it comes as standard with Slackware)
Re:What's your favorite editor to hack with? by danteembermage on Sunday September 16, 2007 @09:51AM (#55266)
NetBeans, ;)
Re:What's your favorite editor to hack with? by lsb on Sunday September 16, 2007 @05:21AM (#55220)
irb/ghci/drscheme, and then just copy-pasting into something stupid like pico.
Re:What's your favorite editor to hack with? by yrashk on Sunday September 16, 2007 @02:12AM (#55168)
TextMate
Re:What's your favorite editor to hack with? by Kaizyn on Sunday September 16, 2007 @04:20AM (#55208)
I've started using e Text editor for Windows; as it supports the TextMate bundles.
Re:What's your favorite editor to hack with? by iamelgringo on Sunday September 16, 2007 @08:54AM (#55252)
Another vote for e. I love it, Snippets are the bomb, and the textmate bundle support is great as well.
Re:What's your favorite editor to hack with? by yrashk on Monday September 24, 2007 @06:00AM (#58833)
the next step is to move to osx :)
Re:What's your favorite editor to hack with? by thomasswift on Sunday September 16, 2007 @06:56PM (#55416)
textmate, bundles are great
Re:What's your favorite editor to hack with? by minus1 on Sunday September 16, 2007 @11:56PM (#55529)
SlickEdit
Re:What's your favorite editor to hack with? by cosmok on Sunday September 16, 2007 @11:19PM (#55513)
Smultron.
Re:What's your favorite editor to hack with? by jamongkad on Sunday September 16, 2007 @02:47AM (#55181)
Intype.
Re:What's your favorite editor to hack with? by vincentliu on Sunday September 16, 2007 @02:59PM (#55338)
vim
Re:What's your favorite editor to hack with? by rbitar on Sunday September 16, 2007 @05:22AM (#55221)
TextMate
Re:What's your favorite editor to hack with? by spiralhead on Sunday September 16, 2007 @02:45PM (#55333)
stone & chizzle
Re:What's your favorite editor to hack with? by mudge on Sunday September 16, 2007 @01:58PM (#55319)
Kate
Re:What's your favorite editor to hack with? by tzury on Sunday September 16, 2007 @03:57AM (#55202)
Scite
Re:What's your favorite editor to hack with? by twism on Sunday September 16, 2007 @08:32AM (#55249)
eclipse
Re:What's your favorite editor to hack with? by axod on Sunday September 16, 2007 @04:47AM (#55214)
jedit
Re:What's your favorite editor to hack with? by Leon on Sunday September 16, 2007 @07:13PM (#55425)
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.