7 ms·
My next text editor
- johansch 14y agoYeah, emacs is not hipster-compatible.
- Watabou 14y agoHey can we stop this please? This does not in any way, contribute to this discussion and calling someone a "hipster" does not make them so. And really what someone uses as their text editor is their own opinion. It's just a text editor man. He can use ST2 if he wants. It's an awesome text editor. I'm actually moving away from Vim to Sublime Text just because it feels more native and modern on my mac. I love the Package Control plugin and I'm already learning some cool new stuff about it.
- incision 14y ago1) Arment's style solicits this kind of response. Trust that the suggestive title "alternative lifestyles" and simple dismissal of emacs while admitting no actual experience was absolutely intentional. 2) It's widely understood that Arment is a hipster, though his cred is slightly lessened now that he moved out of Brooklyn to Westchester.
- dylans49thbeard 14y ago1) Isn't it possible this is just "being clever and writing well"? 2) Where? By whom? What are you calling a hipster? By an standard, a man who listens to Phish CANNOT be called a hipster. Please avoid assigning categories (especially derisively) to people, especially categories that you do not understand .
- incision 14y ago1) You know, now that I think about it...no. I don't see anything particularly clever about intentional flamebait. I'm sure it drives plenty of traffic that wouldn't otherwise care to visit the site, but not particularly clever. 2) Please avoid attempting to refute one anecdotal statement with another. 3) I'm famous. The Marco himself has taken notice. http://twitter.com/marcoarment/statuses/234122334645137408 http://twitter.com/marcoarment/statuses/234122334645137408
- benekastah 14y ago1) meh 2) meh 3) lol
- thesnark 14y agoI would be interested to hear what modern features are not possible in vim or emacs.
- briangonzalez 14y agoMarco talked in Build & Analyze about loving multiple cursors, which I believe emacs/vim don't support: http://www.youtube.com/watch?v=o5bPRhFHEz0 http://www.youtube.com/watch?v=o5bPRhFHEz0
- terhechte 14y agoIn VIM, you can edit multiple adjacent lines at the same time. You can place multiple cursors at random lines though and start editing. I think I saw a plugin for that once, though.
- osener 14y agoSome Emacs extensions that implement Sublime Text features (and IMHO are better than their ST equivalents): mark-multiple[1] and CUA (builtin) for multiple cursors, helm[2] (formerly "anything") for file selection that allows quick previewing (C-z) and much much more, mini-map[3], and expand-region[4] (not sure if this is inspired by a ST feature but it is nice nonetheless). [1] https://github.com/magnars/mark-multiple.el https://github.com/magnars/mark-multiple.el Video: http://emacsrocks.com/e08.html http://emacsrocks.com/e08.html [2] https://github.com/emacs-helm/helm https://github.com/emacs-helm/helm [3] http://www.emacswiki.org/MiniMap http://www.emacswiki.org/MiniMap [4] https://github.com/magnars/expand-region.el https://github.com/magnars/expand-region.el Video: http://emacsrocks.com/e09.html http://emacsrocks.com/e09.html
- twodayslate 14y agoNotepad++ is still alive.
- PopaL 14y agoAnd still works only on Windows. I think Marco is a Mac developer ...
- heretohelp 14y ago>"very hard to learn" re: Emacs Hrm. Decidedly not. It's a nominally modeless editor with no complicated mental creole to translate into from verbing the text like Vi.
- wonderzombie 14y agoOn the other hand, to really get much more out of it than what you'd see in nano or pico, you do need to learn stuff. It's true it's not as bad as Vi in that it doesn't make you drink from the firehose, which I think was your real point. But if you just use Emacs as a glorified TextEdit, why bother?
- nestlequ1k 14y agoSublime Text 2 won out, just barely. I had the same experience, but after 6mo of fulltime use of ST2, I'm a diehard fan. It still needs to be improved in a lot of areas (project wide find/replace is not optimal), but I have confidence the developer and community is progressing faster than any other text editor. Seems like a good place to be
- realize 14y agoThis thread is doomed to become complaints from vim and emacs users. I agree with Marco on the hard to learn, but mainly the ugly comments. As a recent convert to ST2 from eclipse, I agree with his choice. Also, recently having to use windows at a client site, a portable version of ST2 has been very comfortable.
- heretohelp 14y ago>This thread is doomed to become complaints from vim and emacs users Well if people would casting aspersions about tools they don't understand or use. It's like a bricklayer criticizing the utility of Category Theory. Except with programmers, it keeps happening, so the defenders of the faith keep popping up out of necessity. Compare/contrast what you know, don't include things you don't use or understand for the sake of comprehensiveness.
- tikhonj 14y agoEmacs doesn't have to be ugly: http://inst.eecs.berkeley.edu/~tikhon/img/prettyEmacs.png http://inst.eecs.berkeley.edu/~tikhon/img/prettyEmacs.png The reason Emacs users come out is simple: there is an absurd amount of anti-Emacs FUD spread by non-Emacs users which can scare reasonable people away from using it. If nobody disagreed with it, it would seem true. More perniciously, people would start assuming that it was the case without questioning that assumption.
- kamaal 14y agoI will agree with you on that, provided vanilla emacs ships with such a pretty GUI like sublime text 2 or like the image you posted. I have enough work to do already. Customizing the editor to look like that has got to be somebody else's job.
- _pius 14y agoI like Emacs, but "pretty" is hardly the first thing that comes to mind when I see that screenshot.
- terhechte 14y agoI also used Textmate 1 for the better part of 5 years. After that I slowly migrated to Vim because I liked it's text selection / text movement language so much. Now I guess I arrived, I'm rather fast with Vim. I took a long time (at least a couple of weeks) of continuously refining my MacVim until it's not so ugly anymore; in fact, I think it looks pretty good. Apart from that, I also played around with Sublime, and I like it a lot, I'm just so used to vim now.
- fsckin 14y agoI don't want to blow your mind or anything, but check out vintage (vi) mode for Sublime Text. http://www.sublimetext.com/docs/2/vintage.html http://www.sublimetext.com/docs/2/vintage.html
- griffindy 14y agoI remember feeling like sublime's vintage mode implemented some of the things from vim, but not enough of them to make me switch. Then again, if one is looking so hard for an application to imitate vim, why not just use the original?
- city41 14y agoAlmost every editor/IDE around has a vi emulator. The problem is they never have all of vims features, and it doesn't take long until you discover <favorite feature x> is not there, and then the emulator is effectively worthless at that point.
- DigitalJack 14y agoTrue, but sublime's is pretty good. I'm a long time user of vim and though I've only used ST2's vim mode a little, it worked well. I just tested and it even does the ci" ci( stuff right. It isn't VIM ofcourse so it can't do everything, but it's enough to get by either to use for just a little while or as a transition to a new editor. My big complaint with ST2 is that the glibc we have at work is too old to run it. I tried to compile a newer glibc in a prefix, however the ABI changed between what we have and what ST2 needs, and the system ld-linux.so won't work with it. I haven't figured out a way to have linux use a ld-linux.so in a prefix yet. I don't think it's possible :(
- cheald 14y agoSublimeText2 continues to impress me, and the more I use it, the more I discover to love about it. As to the "not Mac-like enough" complaint, you can install the Soda theme (https://github.com/buymeasoda/soda-theme/ https://github.com/buymeasoda/soda-theme/) to make it more so, and it's configurable out the wazoo, so if there's something you don't like, you can probably fix it (and someone probably already has with a plugin). Just the existence of the package manager makes Sublime a better experience than most other text editors, because it's insanely easy to add additional functionality as desired.
- presty 14y agoif textmate2 is opensourced, why isn't anyone picking it up and creating a community around it?
- osener 14y agoIt already has a community around it, it is not abandoned and it's only been a day since they released the source...
- threepointone 14y agoThe code release was _yesterday_. Give it some time, I'm sure it'll gather (or fail to gather) a community. Mind you, Textmate 1 has had a huge fan-following, and they might just migrate to v2.
- rexf 14y agoI also use Sublime Text 2 (both OSX & Win7). Is there any hotkey cheatsheet/tutorial available? I'm 99% sure I'm not taking advantage of countless power features because there's no way to stumble upon all the features. Also, Marco used "Samsung-like resemblance". Phrase needs no explanation.
- cheald 14y ago"Preferences -> Key Bindings - Default" will show you all the configured key bindings. It's a lot, but it's all in there.
- caseydurfee 14y agoHere are some resources I've found helpful: http://whiletruecode.com/post/7-handy-text-manipulation-tricks-sublime-text-2 http://whiletruecode.com/post/7-handy-text-manipulation-tric... http://cheat.errtheblog.com/s/subl/ http://cheat.errtheblog.com/s/subl/ http://net.tutsplus.com/tutorials/tools-and-tips/essential-sublime-text-2-plugins-and-extensions/ http://net.tutsplus.com/tutorials/tools-and-tips/essential-s...
- bcherry 14y agoThis is my preferred reference: https://gist.github.com/1839777 https://gist.github.com/1839777 For bonus points, there are a million forks of that gist that have even more complete lists.
- kjhughes 14y ago"Cursed at Emacs a few times in college." I've had quite the opposite experience: I marveled at Emacs many times in college and have been delighted to be able to use it continuously on so many machines and OSes over three -- now starting on four -- decades.
- heretohelp 14y agoI've been using Emacs since I was single digits of age. I'm at a decade and a half of usage now. I keep using other editors and IDEs from time to time, to keep myself from getting complacent and to steal their functionality into the Emacs world, but I can scarcely imagine giving it up. I like to think I'm a privateer sailing under the flag of Emacs, claiming resources for our community. :)
- cafard 14y agoApart from the occasional sore hand from my bad habit of ctrl-alting with the same hand as I reach for the letter with, I have no complaints about Emacs.
- dchest 14y agoTextMate is over? I guess 27 commits since yesterday is nothing then? https://github.com/textmate/textmate/commits/master https://github.com/textmate/textmate/commits/master
- notJim 14y agoSo here's a meta question: how could we have a comment thread in response to this that doesn't turn into a flame war?
- tikhonj 14y agoNo more than about a post that dismissed macs as having a "Fisher-Price interface", I imagine. (I'm stealing that imagery from one of my professors--some of them really have a way with words.) Moreover, we shouldn't let FUD like that go unchallenged--it might scare reasonable people away from trying Emacs. And that's a net detriment to the world :).
- notJim 14y agoHmm, I don't feel that saying his post is FUD really contributes to the goal of having this thread not turn into a flamewar. Edit: also, my question was not a yes-or-no question, but you answered with a yes-or-no answer.
- tikhonj 14y agoI guess I wasn't sufficiently clear: the answer is no, because spreading around the idea that Emacs isn't modern is counter-productive. I guess your question wasn't "yes or no". Then the answer is: we shouldn't. If we ignore the fact that he claims Emacs/Vim are "very hard to learn, ugly, lack many modern features", people will start just assuming that it's all true. And, as I mentioned earlier, this will scare people away from truly great editors needlessly.
- frou_dh 14y agoThe Fisher-Price thing was widely levelled at Windows XP. In that case, probably due to the default blue and green look.
- kryptiskt 14y agoI must say I don't get this panicking over TextMate at all. If you liked it before, how can the open sourcing not be a huge plus? Surely there will form a development community around it now even if the main author will be less active and if you have an itch to scratch you can help it yourself. How can that be a bad thing?
- frou_dh 14y agoMost of the love is for the original TextMate, which wasn't open-sourced. TM2 might come together if a community rallies. Then again, it might just be a fundamentally lesser product than the likes of ST2 that managed to storm out the gates.
- bstewartnyc 14y agoVjj
- bstewartnyc 14y ago:x
- facorreia 14y ago"Development has just been open-sourced after 7 months of going almost nowhere, so it’s probably safe to assume that it’s effectively abandoned." I can see why one would make that assumption, but I wouldn't call it a "safe" assumption. It might just be the contrary: development may pick up speed given the massive fanbase that TextMate was able to gather.
- crazygringo 14y ago> I almost picked Chocolat, but its performance problems gave me pause. I've been using Chocolat and loving it for the past month -- I feel like it hits exactly the right balance between minimalism and features. It does everything you need it to do, and exactly nothing more. But performance is definitely its biggest problem by far -- everything starts out fast, but after a few hours CPU usage goes way up (even when you're not doing anything) and saving trivially small files takes several seconds. Basically, you have to restart the app every couple hours to keep everything running well. But as long as development continues actively, I assume (hope) problems will be fixed...
- dromidas 14y agoHacker News title should have (mac) in it somewhere. I was very disappointed after opening it up :P
- incision 14y agoFor future reference, Marco Arment (marco.org) is a notorious Apple fanboy (I hate to use the word, but in this case it's apt) and troll. Anything he writes is guaranteed to include smug Apple boasting and/or jabs at all things which are not. For example, I wrote the above statement before finding this in the article: "Chocolat: Very young, active development. It has the most modern Mac interface, but it also bears a creepy, uncomfortable, Samsung-like resemblance to TextMate: it’s effectively a TextMate clone with a few new features added." Never fails.
- kennywinker 14y ago> For future reference, Marco Arment (marco.org) is an iOS developer, and Apple enthusiast. He's also fairly opinionated. Anything he writes is guaranteed to include a strongly stated opinion, usually backed up with facts or at least a rationale for why he holds that viewpoint. Fixed.
- incision 14y ago> Fixed. Cute. You must really be fan because that's another thing Arment likes to do. He writes snarky "fixed" versions of quotes from people saying remotely positive things about Android or anything that can be construed as negative about Apple. Opinionated, certainly, but I've found next to nothing in the way of facts in his arguments and rarely even a stated rationale. Face it, Arment is exactly what I described, even he knows it. He demonstrates it with pride: http://www.marco.org/2011/04/10/fanoboy-fan-boi http://www.marco.org/2011/04/10/fanoboy-fan-boi
- swah 14y agoMeh. What if the Android phones he picked up weren't satisfactory to a guy used to Apple products? He recently praised the new Google 7" tablet.
- kennywinker 14y agoNot a lot of BBEdit love going on in the comments, so I'll throw this in... I switched from TextMate to BBEdit when 10.0 came out. Haven't looked back. There was a brief adjustment period, and I had to do some customization to cope with the change (default font is way too small, for instance). But it's been long enough now that I'm pretty sure I could switch to stock BBEdit, and be happy. Rock solid, deep feature set, good support, will never go away... what's not to like? Ok well, there are some things I don't like: 1. needs better syntax highlighting support 2. needs to adapt to languages better (e.g. native syntax check scripts for most languages, autocomplete) 3. search dialog could use an overhaul. 4. default font / color scheme isn't to my liking. What was my point? Oh yeah, I like BBEdit.
- andyguzman 14y agoBBEdit does take some adjustment but I find I'm really happy with it now that I've settled in. I gave ST2 a shot for a few days this week but found myself missing BBEdit - which is a good place to be since it will probably be around for a long while. Are you using ctags? The syntax highlighting was making me a bit nuts as well but using ctags clears much of the frustration: http://bbeditextras.org/wiki/index.php?title=Advanced_ctags_hacking http://bbeditextras.org/wiki/index.php?title=Advanced_ctags_... It still isn't perfect, but much better than the default highlighting. My two must have tweaks aside from ctags are to change how long autocomplete suggest takes (way too long by default): defaults write com.barebones.bbedit Editor_AutoCompleteDelay -float 0.1 And unchecking suggest dictionary words for autocomplete, but adding it as a custom setting for markdown. I found this to be a good, affordable resource for suggestions on how to get the most out of BBEdit: http://www.takecontrolbooks.com/bbedit http://www.takecontrolbooks.com/bbedit Unfortunately we don't seem to have the strong community editors like Textmate do - so this books was a good way to find some neat tricks I hadn't seen elsewhere..
- SeoxyS 14y agoI've only ever had two true loves, when it comes to text editors. Like Marco, I was happily married to TextMate for a good 5 years or so. But over the past few years, I've slowly gotten over the divorce, and found true love again in `vim`. I recently added 'tmux' to the mix, for the ultimate perfection of a ménage à trois. http://akhun.com/seo/skitch/Screen_Shot_2012-08-10_at_3.16.12_PM-20120810-151621.png http://akhun.com/seo/skitch/Screen_Shot_2012-08-10_at_3.16.1...
- juddlyon 14y agoI laughed at the thought of neckbeards cursing their screens when they saw VIM and Emacs under 'Alternative Lifestyles.'
- powerslave12r 14y agoI used Sublime Text 2 on all my machines for over a month for Python and C. It was great for about 90% of the things. But I ended up going back to jedit because of: - The way split views are handled for: a. The same file in multiple views. b. Non-global scope on 'Ctrl+P' in multiple views. - Better Highlighter plugin. (The existing ones for ST2 don't provide the same features) - The Hypersearch (and the overall search/replace dialog) in jedit is awesome. On a quick search I didn't find the options to get these preferences, but I'm sure they will come to be, if they haven't already. (Please feel free to suggest the options if I'm overlooking anything.) That said, the reason I switched back to jedit is because I was much faster in it even though I had got a good hang of ST2. Aside: I never see jEdit being discussed in these editor discussions. Personally, I feel it's the best editor out there today despite being dependent on the jre. It checks all the right boxes: - GPL/Open source - Free - Cross platform - Huge repository of plugins - Amazing font rendering - Highly configurable - Really nice search/replace hypersearch feature. - Great themes available ..and a lot more things.
- bunnyhero 14y agothe last time i tried jedit (admittedly, years ago) i found the font rendering on mac os x to be ugly. since it's on your checklist, i assume it's improved since then?
- powerslave12r 14y agoI haven't used it on a mac, but on Linux and Windows it looks pretty sweet. Here's what it looks like on mine right now (looks same on windows and linux): That's some python code with Consolas, Anti-aliasing set to 'Standard', and fractional font metrics turned on: http://i.imgur.com/j3Gsw.png http://i.imgur.com/j3Gsw.png And fractional font metrics turned off: http://i.imgur.com/e2jhE.png http://i.imgur.com/e2jhE.png (I don't know if imgur does/performed any compression on it or not.) There are also multiple settings for font smoothing, so you can tweak it to your liking. (Subpixel settings) Combine this with great themes (even the light themes look unreal), I can't see why this isn't more popular!
- terhechte 14y ago