Live data from Hacker News

Chocolat - the new editor

chocolatapp.com

51–60 of 150 posts

Re: Chocolat - the new editor

#51

When will somebody produce a text editor built for remote editing of text files? The vast majority of programmers that I know do all of their work on a remote build-server, and thus are relegated to using emacs, vim or some extremely ungainly combination of TextMate+FtpServer/Remote Filesystem Mount. Could some intrepid developer create an app that would allow me to easily a) open and edit remote files b) open arbitr…

I'm not sure how well "relegated" is going to go over here since Vim and Emacs are considered by many the best editors. If you're on a Gnome-flavored Linux, then many "lesser" editors can use GVFS to remotely work on files.

Don't get me wrong, I have grown to love emacs. I use it all day, every day, and a good portion of my hippocampus is dedicated to storing away emacs keyboard shortcuts. But why can't I have what is good about emacs (a ton of buffers, unlimited bash shells, keyboard based) in a native text editor? I'm content with emacs now, but why do engineers have to spend so much time wrestling with an editor like emacs before being able to use it properly?

Re: Chocolat - the new editor

#52

When will somebody produce a text editor built for remote editing of text files? The vast majority of programmers that I know do all of their work on a remote build-server, and thus are relegated to using emacs, vim or some extremely ungainly combination of TextMate+FtpServer/Remote Filesystem Mount. Could some intrepid developer create an app that would allow me to easily a) open and edit remote files b) open arbitr…

I use Eclipse on all of my dev machines, for this. Eclipse runs everywhere, as far as I know. I'm able to keep the same dev setup on my Windows PC, my Macbook and anywhere else I may want. Eclipse can edit files over sftp - no drive mapping needed, etc. I've modified Eclipse to be pretty minimal. All in all it's a good setup - it's definitely not sexy or very exciting, though. I rarely ever see it mentioned but it's the only editor I've found that doesn't feel excessive but also has this necessary edit-over-ssh feature.

Re: Chocolat - the new editor

#53
post #46

i sometimes need to use the split window to show me 2 or 3 code chunks that are sequential, so that they scroll together. i mean, not 3 different, distant parts of a document, but like one longer part of a document, where a core function with several recursions and nested loops is defined, in many lines, and i want to see them all. usually i print them out and then inspect. is there any editor to do this? maybe choco…

Emacs. You're looking for follow-mode:

http://www.gnu.org/software/emacs/manual/html%5Fnode/emacs/F...

The ability to edit the same file (or, in emacs terms, "buffer") in two or more windows is a killer feature.

Re: Chocolat - the new editor

#55
post #35
post #27

Earlier quoted context omitted.

I love me some textmate, but the lack of split window editing makes me sad, every time I start really working in it.

Indeed. I would gladly pay $50 bucks just to be able to split windows in my textmate.

Is this the reason people commenting seem legitimately excited? I'm a Linux/vim guy; I appreciate when people make lean, straightforward 'simple' applications but this just appears to be a Macified version of vim... since TextMate was supposed to be Macified vim, I couldn't really see the point.

I hate to be a neckbeard on this one, but I get irritated when Mac guys conflate 'simple' and 'graphical'. If this editor had been designed for a niche application (subethaedit), kept track of your most-used features and only emphasized those, or did something to simplify your overall editing experience I would be all for it. Instead I see an editor that replaced vim's look with a graphical one, like the palette swaps old videogames used to turn the good guys into the bad (same with versions of NetHack that had graphical tiles). Reminds me of that weird TermKit thing: http://news.ycombinator.com/item?id=2559734

I really want to break out of the terminal. It's crufty and old, but what's more disappointing is that no contender has yet matched or even surpassed its zen. Come on guys, build it already.

Re: Chocolat - the new editor

#56

When will somebody produce a text editor built for remote editing of text files? The vast majority of programmers that I know do all of their work on a remote build-server, and thus are relegated to using emacs, vim or some extremely ungainly combination of TextMate+FtpServer/Remote Filesystem Mount. Could some intrepid developer create an app that would allow me to easily a) open and edit remote files b) open arbitr…

kate has kio which can access files over serveral protocls including sftp.

Re: Chocolat - the new editor

#57

When will somebody produce a text editor built for remote editing of text files? The vast majority of programmers that I know do all of their work on a remote build-server, and thus are relegated to using emacs, vim or some extremely ungainly combination of TextMate+FtpServer/Remote Filesystem Mount. Could some intrepid developer create an app that would allow me to easily a) open and edit remote files b) open arbitr…

My testing is done on a remote server but I keep my repo locally. Whenever I want to push it up to my server I hit a key combo in Sublime Text that I've assigned to run rsync to push files over. It usually takes about .5-1.5 seconds which, although not perfect, is a decent solution that still lets me use a local app for text editing.

Re: Chocolat - the new editor

#58
post #37
post #33

Earlier quoted context omitted.

Buffers are truly amazing - combined with powerful buffer naming patterns, it's a breeze switching between buffers blindly (included with autocomplete) and if you forget about which buffers are open it's a keystroke away to see an overview of the buffers open... 20-25 buffers open at once? Easy!

^ Ido mode user!

Ido with fuzzy searching is an absolute must. Type "mobusmai" to get to "mobile_user_mailer.rb" in an instant.

Re: Chocolat - the new editor

#59
post #46

i sometimes need to use the split window to show me 2 or 3 code chunks that are sequential, so that they scroll together. i mean, not 3 different, distant parts of a document, but like one longer part of a document, where a core function with several recursions and nested loops is defined, in many lines, and i want to see them all. usually i print them out and then inspect. is there any editor to do this? maybe choco…

In Vim, you want scrollbinding: http://vim.wikia.com/wiki/Scrolling_synchronously

Re: Chocolat - the new editor

#60

When will somebody produce a text editor built for remote editing of text files? The vast majority of programmers that I know do all of their work on a remote build-server, and thus are relegated to using emacs, vim or some extremely ungainly combination of TextMate+FtpServer/Remote Filesystem Mount. Could some intrepid developer create an app that would allow me to easily a) open and edit remote files b) open arbitr…

Emacs has Tramp, which gives you (a), and one of the emacs terminal modes can do (b) if you write the requisite script (which I estimate at two lines) and bind it to a key. You'll find these documented right next to C-x M-c M-butterfly. ;) Though in practice I find that (a) once you know emacs it's usually just as easy to shell into the remote machine and run emacs there, so I myself have yet to really get the hang o…

if you're already in a remote (tramp'd) file, M-x eshell brings up a remote shell in the same directory
Post reply on HN