by msluyter · 14y ago · 0 comments
Editors seem to raise a lot of religious issues, and not to totally discount the distinctions that can be made between them, but I think it's more important to know your editor well than to worry about "the best editor." (If such a thing exists.) As Hunt & Thomas say in The Pragmatic Programmer: "use a single editor well."[1] You'll be most productive if you learn your editor from head to toe, than if you half-assedly know several. That takes some effort and conscious practice, sitting down and memorizing key combinations and the like. And a cursory glance at any editor might leave you unimpressed until you've gotten somewhat fluent with its features.
Just a couple of suggestions if you do use ST2:
+ get package control: http://wbond.net/sublime_packages/package_control/installati...
+ For rails, a couple of nice packages are RubyTest and SimpleRailsNav
+ Learn the multi-edit commands
+ Familiarize yourself with cmd-P/ctrl-P (osx/win)
+ Keyboard shortcuts: WIN: https://gist.github.com/1925069 OSX: https://gist.github.com/1207002, or look at Default (OS).sublime-keymap
[1] I would amend that to add "and also know vim at least a little" for stuff like sshing in to servers and whatnot.
If this advice is to be taken seriously the only editors you can learn is vim and Emacs.
Shiny editors like Sublime Text come and go every 2-3 years. And putting effort learning them, only brings you back to your statement: "You'll be most productive if you learn your editor from head to toe, than if you half-assedly know several."
"use a single editor well...learn [] vim and Emacs" abc/def/ghi/foo.py
jkl/mno/pqr/foo.py
stu/vwx/yzz/foo.py
...you can type command-P, then "kfo", and you'd get the second foo.py, as it's the only one of the set with "k" in its path.I'm happy so far, but hope they add multi-window support and terminal integration (unless they already have).
edit: Sublime has a CLI, but can't be run inside terminal.
Ideally I'd like the same environment mixed with some nearly "ide-looking" find-and-replace/refactoring support.
ST2 supposedly has these features from what I've read, just haven't dug into em yet.