Live data from Hacker News

Vim.js - JavaScript port of Vim

coolwanglu.github.io

101–107 of 107 posts

Re: Vim.js - JavaScript port of Vim

#102

This... Plus Gmail... Man that's fantastic. I have sent an embarrassing number of emails that end with :wq. Once you try Vim, it's really hard to go back. I also tried using mutt instead of GMail, and while it gets me 90% of the way there, the lack of graphical preview of attachments and things like filters and HelloSign make GMails web interface more useful.

Who uses :wq when you can use :x?

I save very often using :w. When I want to save and exit my brain is now hard-wired to do :wq. It would probably take a year for me to train myself to use :x, which is arguably just as slow since I have to reach down with my ring finger instead of up. Not saying anyone should switch, just that it would be hard for me to do so.

Re: Vim.js - JavaScript port of Vim

#103

This... Plus Gmail... Man that's fantastic. I have sent an embarrassing number of emails that end with :wq. Once you try Vim, it's really hard to go back. I also tried using mutt instead of GMail, and while it gets me 90% of the way there, the lack of graphical preview of attachments and things like filters and HelloSign make GMails web interface more useful.

Oh man, this even has tabs!

Re: Vim.js - JavaScript port of Vim

#104
post #92

Earlier quoted context omitted.

There are browser plugins that let you edit elements in your $EDITOR. I use "It's all text!" in Firefox for this purpose and it works well; the workflow is pretty simple: focus in textarea, hotkey to switch to vim, save & close buffer to switch back to the browser. (not affiliated, just a user). You do of course lose rich text formatting.

Anybody know one for Chrome?

I do not... Last time I looked was a couple months ago, and I didn't find anything.

Re: Vim.js - JavaScript port of Vim

#106

Can anyone think of a sane way to make this integrate with github?

I found a solution for this - http://lauris.h-s.io/2013/12/13/github-vim-editor/

Thanks! I was trying to get my head around why vim mode wasn't working. This works great.

Re: Vim.js - JavaScript port of Vim

#107
post #92

This... Plus Gmail... Man that's fantastic. I have sent an embarrassing number of emails that end with :wq. Once you try Vim, it's really hard to go back. I also tried using mutt instead of GMail, and while it gets me 90% of the way there, the lack of graphical preview of attachments and things like filters and HelloSign make GMails web interface more useful.

There are browser plugins that let you edit elements in your $EDITOR. I use "It's all text!" in Firefox for this purpose and it works well; the workflow is pretty simple: focus in textarea, hotkey to switch to vim, save & close buffer to switch back to the browser. (not affiliated, just a user). You do of course lose rich text formatting.

You just made my day, m'am and/or sir.
Post reply on HN