Live data from Hacker News

Show HN: vi in your browser - edit files directly from Dropbox, etc

mit.edu

21–30 of 82 posts

Re: Show HN: vi in your browser - edit files directly from Dropbox, etc

#24
post #3

Cloud vi was my side project last week. FYI: I didn't build the editor. I took it from http://gpl.internetconnection.net/vi/ but modified it a bit and integrated it with https://www.filepicker.io to make it much more useful.

was just about to mention http://gpl.internetconnection.net/vi/

Re: Show HN: vi in your browser - edit files directly from Dropbox, etc

#27
post #18

Slight issue: counts do not work in combination with insertion commands. (in other words, you can't use 5i to have something inserted 5 times, or for a more useful example you cannot use 5o or 5O) It's an easy to overlook, for a long time BusyBox's vi didn't like combining counts with o/O either.

As well, non of the screen movement commands and some miscellaneous commands aren't working. It really took out almost all of the flow I have when I'm editing files.

Vi commands: ^D ^E ^B . J and probably more that I haven't tried.

Possibly Vim commands: * #

U is functioning completely incorrectly. Try dd, U on line 3 in the example.

It also wasn't allowing me to hit (OSX 10.6, Chrome 19)

(All this isn't Filepicker's fault. It's whomever's that wrote the choppy JS version of Vi. But if you want to show off Vi in the browser, you can't make me feel like a broken machine when I try to use it.)

Re: Show HN: vi in your browser - edit files directly from Dropbox, etc

#28

Pretty darn nifty, but vim stuff like 'ciw' doesn't work, and also 'C' leaves you in an insert state where your next keystrokes are entered just before the last letter in the line, rather than after the last letter in the line.

Yeah that was literally the first thing I tried, and I was disappointed it didn't exist.

Re: Show HN: vi in your browser - edit files directly from Dropbox, etc

#29

Pretty darn nifty, but vim stuff like 'ciw' doesn't work, and also 'C' leaves you in an insert state where your next keystrokes are entered just before the last letter in the line, rather than after the last letter in the line.

I just fixed C. ciw doesn't work since I've only implemented vim stuff for now but I may slowly add in vim features if there is demand for them
Post reply on HN