Live data from Hacker News

Use Atom to edit in Chrome

github.com

81–88 of 88 posts

Re: Use Atom to edit in Chrome

#81
post #58

I like this idea. As Firefox tightens its sandbox security eventually things like It's All Text! won't work anymore. I have some bugs open on the project and maybe someday I can switch from Vim to Atom comfortably. I also hear that the It's All Text! author is lazy... every time I go home to the family. ;-)

Hm. I love It's all text and use it all the time with my Firefox and Emacs setup.

Are you saying that you're its developer, and that you're not going to maintain it anymore?

That would certainly make me sad :(

Re: Use Atom to edit in Chrome

#82
post #66
post #56

Earlier quoted context omitted.

Try this: http://markdown-here.com/

I have tried this extension in Chrome; it doesn't quite do what I'm getting it, as the extension converts the markdown once and doesn't let you edit it afterwards .

I use the Firefox version. You /can/ convert back to Markdown. Should be Control + Alt + M (or whatever the toggle key combination is)

Re: Use Atom to edit in Chrome

#83
I used Automator on OS X to create a system service to do something like this. Creating it was really simple - just a "Run Bash Script" action with "/usr/local/bin/subl" in it. Right clicking text anywhere in the system and choosing "Edit in Sublime" will open it in ST and replace the original text once you save the file.

Re: Use Atom to edit in Chrome

#84

I use this Firefox add-on to edit text in gvim from time to time: https://addons.mozilla.org/en-US/firefox/addon/its-all-text/... But I don't see the advantage of editing text areas with atom, which presents an extremely similar text editing experience compared to the experience the text area already provided. On the other hand, moving to Vim to edit a particuarly long comment or what have you makes more sense becaus…

I have vim-mode in Atom, so its just about exactly like editing in Vim.

If you are editing a gist or inserting a code snippet in a comment then editing in Atom would be nice because you get syntax highlighting, snippets, auto-complete.

Re: Use Atom to edit in Chrome

#85
post #58

I like this idea. As Firefox tightens its sandbox security eventually things like It's All Text! won't work anymore. I have some bugs open on the project and maybe someday I can switch from Vim to Atom comfortably. I also hear that the It's All Text! author is lazy... every time I go home to the family. ;-)

Hm. I love It's all text and use it all the time with my Firefox and Emacs setup. Are you saying that you're its developer, and that you're not going to maintain it anymore? That would certainly make me sad :(

I'm glad you like IAT! I am indeed the developer.

I'll continue to maintain IAT! as long as it can work in Firefox.

Firefox is changing its security model for extensions to make it more like Chrome's. Eventually, it will be impossible for IAT! to work as a pure extension anymore.

Over the years, I've been working on IATED (https://github.com/docwhat/iated) which was meant to be a replacement for IAT! -- a sort of IAT! next generation.

IATED would be two parts: a server to open the editor and an extension that talks to it.

But I've become distracted and disheartened by figuring out how to make it as simple to install and use as IAT! yet remain secure.

Some issues:

* I know enough security practices to know I'm not even close to being an expert. IATED has the potential to do really bad things if insecure. Letting a malicious page read random files on your file system (or worse, write them!) is the obvous vector.

* I would want to support the same platforms: Linux, OS X, and Windows. But each platform has very different requirements. Windows users are going to be confused if IATED is purely command line driven, for example.

* What language should I write it in. I have several false starts, with the current 'master' branch being JRuby. But depending on the JVM seems horrible. 'golang' is pretty new and maybe the way to go. I'm not sure.

* I work on IAT! mostly alone, though xOneca has been a great help. Writing IATED by myself is discouraging. I'd love to have someone who knows about golang or Windows or security help me write IATED.

Anyway, that's roughly the state of IAT! and IATED at the moment.

Ciao!

Re: Use Atom to edit in Chrome

#86
post #58

I like this idea. As Firefox tightens its sandbox security eventually things like It's All Text! won't work anymore. I have some bugs open on the project and maybe someday I can switch from Vim to Atom comfortably. I also hear that the It's All Text! author is lazy... every time I go home to the family. ;-)

If you build it they will complain. ;-)

Re: Use Atom to edit in Chrome

#88

I use this Firefox add-on to edit text in gvim from time to time: https://addons.mozilla.org/en-US/firefox/addon/its-all-text/... But I don't see the advantage of editing text areas with atom, which presents an extremely similar text editing experience compared to the experience the text area already provided. On the other hand, moving to Vim to edit a particuarly long comment or what have you makes more sense becaus…

Atom is a full featured text editor, like vim or emacs. The editing experience is therefore way superior to Firefox or Chrome textarea, and you can use all the shortcuts, plugins and goodies you are used to. For a short comment, a basic textarea is of course enough, but when you write something a little longer, I think it is a real gain of time to be able to edit in a real editor.

> Atom is a full featured text editor, like vim or emacs.

I have to take issue with your notion of "full featured". Atom is a fine editor with plenty of features but it's orders of magnitudes short of emacs.

Post reply on HN