Live data from Hacker News

Vim.js - JavaScript port of Vim

coolwanglu.github.io

11–20 of 107 posts

Re: Vim.js - JavaScript port of Vim

#13
post #3

Really cool! It even supported doing things like: inoremap jj `^ Backspace ended up triggering the browser's back action though. Other than that, this is really nice. Edit: After looking at the source, this seems to make use of emscripten to reuse Vim's existing source code. This really makes me wonder what other cool things we can bring over to the client side.

… There are still browsers that use backspace for navigation? (I'm a little surprised by this because I've seen so many complaints about it leading to data loss.)

_I_ use backspace for navigation. What's the alternative? Use a mouse?

Re: Vim.js - JavaScript port of Vim

#14

Earlier quoted context omitted.

… There are still browsers that use backspace for navigation? (I'm a little surprised by this because I've seen so many complaints about it leading to data loss.)

_I_ use backspace for navigation. What's the alternative? Use a mouse?

Alt-Left.

Re: Vim.js - JavaScript port of Vim

#15

Earlier quoted context omitted.

… There are still browsers that use backspace for navigation? (I'm a little surprised by this because I've seen so many complaints about it leading to data loss.)

_I_ use backspace for navigation. What's the alternative? Use a mouse?

if you use vimium/vimperator/something else you can do shift+H to go backwards, shift+L to go forward.

Re: Vim.js - JavaScript port of Vim

#16
post #8

Earlier quoted context omitted.

… There are still browsers that use backspace for navigation? (I'm a little surprised by this because I've seen so many complaints about it leading to data loss.)

Chrome and Firefox. Probably IE too.

No, at least for me (Firefox on Linux) Backspace doesn't do anything special.

Re: Vim.js - JavaScript port of Vim

#17
post #8

Earlier quoted context omitted.

… There are still browsers that use backspace for navigation? (I'm a little surprised by this because I've seen so many complaints about it leading to data loss.)

Chrome and Firefox. Probably IE too.

Not on Linux, where the 'previous page' action is mapped to Alt-left by default. After being initially frustrated, I got really used to Alt-Left for going back.

The reasoning behind it is pretty smart too, because numerous times backspace can result in the loss of data, like when you're filling up a form and you hit backspace outside of a text box.

Re: Vim.js - JavaScript port of Vim

#18
I'm normally unimpressed by applications ported to javascript. However, this actually has me excited. I would love to be able to edit all my Dropbox text files with a web interface. If anyone here works for Dropbox, I beg you to integrate this!

Re: Vim.js - JavaScript port of Vim

#20
post #16
post #8

Earlier quoted context omitted.

Chrome and Firefox. Probably IE too.

No, at least for me (Firefox on Linux) Backspace doesn't do anything special.

The “backspace = back” behavior of Firefox is only enabled by default on Windows. The behavior is controlled by the about:config setting `browser.backspace_action` (http://kb.mozillazine.org/Browser.backspace_action).
Post reply on HN