by nyx on 4/25/19, 1:49 AM
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.
by tomjakubowski on 4/25/19, 2:57 AM
Does anyone know if lynx plans on supporting wasm? I'd like to try this editor in a terminal.
by AndyKelley on 4/25/19, 1:49 AM
by be_erik on 4/25/19, 2:25 AM
This is absolutely incredible. I never thought this would be possible-- wasm opens a new phase of software development and deployment.
by frutiger on 4/25/19, 1:54 AM
:colorscheme
unknown "that's weird
:set file^I^I "I guess tab autocomplete doesn't work
:set filetype=cpp
i#include <iostream><Esc> "I guess syntax highlighting doesn't work either
:set tabstop=4 softtabstop=4
i^I^I "at least that worked!
by kalefranz on 4/25/19, 1:35 AM
Where’s the escape key on my iPhone?
by monokrome on 4/25/19, 6:48 AM
This is pretty dope, but I'm terrified about the fact that Firefox lets it take over Ctrl+L, Ctrl+1, or any other way (that I can find, at least) of breaking out of Vim with a keyboard aside from closing the tab with Ctrl+W - which is even more terrifying since I use that in Vim a ton, too :O
...but this is pretty cool :D
by tkinz27 on 4/25/19, 7:26 AM
I wonder if this will be useful for electron based editors like vscode's vim plugin. I know the plugin is "good" but I always find something that works in vim and doesn't in the plugin and end up going back to my terminal.
by webvimbeta on 4/25/19, 9:19 AM
The timing on this is really interesting for me. I've been working on a full web vim product (plugins, multi-session, cloud storage, backup, etc.) and I'm pretty close to a beta product (POC is fully functional, just polishing a few rough edges). If anyone is interested in hearing more, email me at webvimbeta@gmail.com
by hq6 on 4/25/19, 1:44 AM
Running on Firefox and `Shift` generates a `^P` character.
by jsturges on 4/25/19, 4:32 PM
Not sure if it's a bug or user error (not sure if writing is supposed to be supported yet), but after doing the following, the page becomes nonresponsive:
:o test.tx
:wq
I get an fsync failed error and I'm told to press enter or type a command to continue.
I can't do either.
by positr0n on 4/25/19, 2:08 AM
I am impressed that
:imap jk <Esc>
:imap kj <Esc>
works great. However it seems like outer and inner text objects aren't working at all. E.g. daw, ci)
by tinus_hn on 4/25/19, 7:21 AM
Perhaps it’s because I block web fonts but once I start typing little turds remain where the intro text was.
by mshockwave on 4/25/19, 5:08 AM
:! cat /etc/passwd
[blocked]
sorry can't help myself trying this. but good job!
by khorpy on 4/25/19, 10:57 AM
I see many comments on broken key combinations. Obviously, we need to somehow overcome a UI/UX limitations of the applications that run inside a browser if we're moving into browsers with the consumer apps. I wrote a dedicated article on this:
https://database.blog/trello-hot-keys/by yjhoney on 4/25/19, 2:16 AM
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!"
by zeptomu on 4/25/19, 12:17 PM
My test for "non-native" Vim is always 'q:' which should open a command line window of previous commands at the bottom of your screen - unfortunately that does not work.
Furthermore I can't use 'Ctrl-v' that let's you select a column of text (EDIT: correction, this does work).
'q:' should not be captured by the browser? Nevertheless impressive work.
by cyansmoker on 4/25/19, 6:13 AM
<ctrl-w>w closed my browser window. Should have seen this one coming.
by rvalue on 4/25/19, 11:50 AM
I was hoping :w with filename would download the contents :D
by steve19 on 4/25/19, 2:03 AM
Unfortunately it's not working on my android phone with hacker keyboard (full keyboard with esc). There are also horizontal lines across the screen that should not be there.
by z92 on 4/25/19, 3:44 AM
Good work. Almost there.
Things that doesn't work starts from where you might need to change word "ciw", visually select word "viw".
by idoco on 4/25/19, 2:52 PM
by jhare on 4/25/19, 1:54 PM
Now I really can't quit the internet
by bhaak on 4/25/19, 7:38 AM
Trying to save errors out with "E667: Fsync failed" and then it gets stuck.
by jodrellblank on 4/25/19, 8:14 AM
How do Emscripten cross-compiled things and WASM compiled things handle the display? Is it a framebuffer they blindly draw to, do they need shim layers added to interpret normal output to window-scaled in-browser output?
by viksit on 4/25/19, 2:44 AM
by mises on 4/25/19, 2:00 AM
Any plug-in support? Could I upload my vimrc to a server, then download it, apply it, and run :PlugInstall to get my vim setup in any web browser?
by taf2 on 4/25/19, 2:30 AM
very cool, some of the set commands don't seem to work for me... set softtabstop for example didn't appear to work. also i might have a local setting but tab complete with set wasn't working... again probably local settings. and :w wtf didn't work :D seems to crash it. This is super cool
[update] ah i see from the readme write support is in the todo list.
by fouc on 4/25/19, 3:38 AM
Why does it completely freeze on :w foo ? It asks for ENTER or any key but that doesn't work at all at that point.
by curioussavage on 4/25/19, 4:32 AM
pretty fun as an experiment. It would be so cool if someday github/gitlab had this as an option for editing files
by tedmiston on 4/25/19, 12:29 PM
On mobile I see a blank gray page. Perhaps this only works on desktop browsers. I still have no idea what it is.
by ww520 on 4/25/19, 8:50 AM
Think I crashed it. Did a :w foobar and got an error and the page was stuck, with the computer fan ramped up.
by sabujp on 4/25/19, 3:38 AM
i had to turn off adblock plus and ublock origin to get this to work for some reason
by fouc on 4/25/19, 3:41 AM
Will wasm ever use html/css properly? Or will it just be more like flash?
by lone_haxx0r on 4/25/19, 3:28 AM
I can't save.
:w test
"test" E667: Fsync failed
Warning: original file may be lost or damaged.
by yitchelle on 4/25/19, 9:07 AM
:q! is not working! Help, I can't exit.
But seriously, this is great work.
by odiroot on 4/25/19, 8:27 AM
Try inputting some diacritics, it breaks spectacularly.
Just tried ą ę ł etc ;)
by vldr on 4/26/19, 6:14 AM
Next step will be to bundle this in an electron app.
by linsomniac on 4/25/19, 1:35 PM
Does this get us any closer to being able to edit text fields using vi keybindings? I've tried some of the plugins (long ago) and was underwhelmed with the experience.
by SuMu2600 on 4/25/19, 4:47 AM
Is there a good iOS port of Vim available?
by mikorym on 4/25/19, 10:04 AM
What is the use case for this?
by User23 on 4/25/19, 5:14 AM
Vi, the original roguelike.
by tomrod on 4/25/19, 2:24 AM
This is so cool! Well done!
by netmonk on 4/25/19, 7:48 AM
How can i save a file ?
by diehunde on 4/25/19, 2:25 AM
Lol. Why no :Explore?
by exabrial on 4/25/19, 2:38 PM
Fucking touchbar.
by chris_wot on 4/25/19, 2:46 AM
Don't do :wq
by hjk05 on 4/25/19, 12:16 PM
Sounds like a great fun little project. Shame it doesn’t work.
by vmarovic on 4/25/19, 2:37 PM
diw or ciw doesn't seem to work :(
by nunobrito on 4/25/19, 9:06 AM
Looks good!
How can I close it?
by sureaboutthis on 4/25/19, 12:23 PM
Why was wasm used for this? It's not a javascript replacement as stated by webassembly.org.