Live data from Hacker News

Vim.wasm

rhysd.github.io

41–50 of 291 posts

Re: Vim.wasm

#41
Good work. Almost there.

Things that doesn't work starts from where you might need to change word "ciw", visually select word "viw".

Re: Vim.wasm

#42
post #22

This is absolutely incredible. I never thought this would be possible-- wasm opens a new phase of software development and deployment.

Or just use regular Vim and not think that everything needs to run inside of a web browser, especially if you value user privacy and computer resources.

Would be nice to be able to use vim (or any other editor of your choice) in web text boxes.

Re: Vim.wasm

#43
post #22

This is absolutely incredible. I never thought this would be possible-- wasm opens a new phase of software development and deployment.

Or just use regular Vim and not think that everything needs to run inside of a web browser, especially if you value user privacy and computer resources.

Or use emacs.

Re: Vim.wasm

#44
post #40

Will wasm ever use html/css properly? Or will it just be more like flash?

Well, HTML/CSS are sort of separate and wasm doesn’t replace them, but if you mean DOM access, it’s planned but not available yet. You basically have to write JS glue code that interacts with your web assembly code

Re: Vim.wasm

#45
post #42

Earlier quoted context omitted.

Or just use regular Vim and not think that everything needs to run inside of a web browser, especially if you value user privacy and computer resources.

Would be nice to be able to use vim (or any other editor of your choice) in web text boxes.

[deleted]

Re: Vim.wasm

#46
post #29
post #14

sorry for being dense, but I can't seem to save files or do anything seemingly practical. Is there any practical use cases for this library, or is this purely along the lines of "Hey checkout this cool hack!"

When I was working on the Sage Notebook, circa 2007, I made the best textarea-IDE I could... folks requested vim and emacs bindings but browsers just weren't ready. Heck, I wrote my own javascript console because iirc only Firefox had one at the time, I digress... I look forward to a vim plugin for the IPython notebook!

I used this back in the day and it worked pretty well. Not sure how it cooperates with the newer Jupyter makeover but worth a shot!

https://github.com/lambdalisue/jupyter-vim-binding

Re: Vim.wasm

#47
post #22

This is absolutely incredible. I never thought this would be possible-- wasm opens a new phase of software development and deployment.

Or just use regular Vim and not think that everything needs to run inside of a web browser, especially if you value user privacy and computer resources.

Don't immediately hand wave away the value of these sorts of things. I don't think anyone would use this as their primary editor, but I'd love something like this in our merge request / code review process, as that's currently entirely browser based already.

Re: Vim.wasm

#48
post #7

I thought I was getting stuck in insert mode, and I got fairly frustrated before realizing my Vim keybindings browser extension was grabbing ESC and keeping it from this weird browser-Vim. We brought this abomination on ourselves.

We have strayed too far from RMS's light

Re: Vim.wasm

#50
post #16

Where’s the escape key on my iPhone?

Try: Ctrl and [ That should send the same as Esc (ASCII 27). I seem to remember this working on a new iPad Pro keyboard.

Standard adaptation for touchbar Macs, too. I find it less of a disruption from the home row.
Post reply on HN