You can get something similar to that with the Firefox vimperator plugin. Press ctrl-I in a textarea and a vim pops up. When you close it the text gets copied back. I use it a lot!
Thank you for this. Many people will remember early browsers were also editors; Mosaic and Nexus (or confusingly WorldWideWeb as its earlier name) both had document editing features.
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.
Same for ^C, which also does the same as Esc and is extremely convenient to type. (There is a slight difference with Esc though: VjjIblah^C does not do the same as VjjIblah<Esc>.)
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 <ESC> (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.)
"This app will have access to your entire Dropbox."
Which still happens with pretty much every Dropbox app, despite fine-grained permissions many months ago. Dropbox, love the app, but the company needs a strong developer relations programme to get messages like this out.
(Original:
First thing I tried: dG to delete everything, didn't work. So, it still needs improvement. Now, I'll admin I'm not 100% sure if G is a vim command or a vi one.)
[+] [-] kjhughes|13 years ago|reply
http://www.ymacs.org/demo/
[+] [-] grandalf|13 years ago|reply
[+] [-] TeMPOraL|13 years ago|reply
[+] [-] mmahemoff|13 years ago|reply
$('textarea').vim()
[+] [-] dimatura|13 years ago|reply
[+] [-] unknown|13 years ago|reply
[deleted]
[+] [-] DoctorHouse|13 years ago|reply
http://ostatic.com/jsvim
[+] [-] tagx|13 years ago|reply
[+] [-] cpdean|13 years ago|reply
[+] [-] DanBC|13 years ago|reply
[+] [-] davidandgoliath|13 years ago|reply
[+] [-] tagx|13 years ago|reply
[+] [-] sbmassey|13 years ago|reply
[+] [-] tagx|13 years ago|reply
[+] [-] wetmore|13 years ago|reply
[+] [-] udp|13 years ago|reply
[+] [-] filipncs|13 years ago|reply
Is this impossible to implement?
[+] [-] a3_nm|13 years ago|reply
[+] [-] tagx|13 years ago|reply
[+] [-] s00pcan|13 years ago|reply
[+] [-] taylorbuley|13 years ago|reply
[+] [-] tagx|13 years ago|reply
[+] [-] unknown|13 years ago|reply
[deleted]
[+] [-] jlgreco|13 years ago|reply
It's an easy to overlook, for a long time BusyBox's vi didn't like combining counts with o/O either.
[+] [-] carb|13 years ago|reply
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 <ESC> (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.)
[+] [-] mmahemoff|13 years ago|reply
"This app will have access to your entire Dropbox."
Which still happens with pretty much every Dropbox app, despite fine-grained permissions many months ago. Dropbox, love the app, but the company needs a strong developer relations programme to get messages like this out.
[+] [-] tagx|13 years ago|reply
[+] [-] robomartin|13 years ago|reply
http://news.ycombinator.com/item?id=4145060
[+] [-] unknown|13 years ago|reply
[deleted]
[+] [-] brettcvz|13 years ago|reply
[+] [-] tagx|13 years ago|reply
[+] [-] Ives|13 years ago|reply
(Original: First thing I tried: dG to delete everything, didn't work. So, it still needs improvement. Now, I'll admin I'm not 100% sure if G is a vim command or a vi one.)
[+] [-] minikomi|13 years ago|reply
If I leave the first line alone, it appears to work great!
[+] [-] brettcvz|13 years ago|reply
[+] [-] jaggederest|13 years ago|reply
[+] [-] sunils34|13 years ago|reply
[+] [-] cheeze|13 years ago|reply
[+] [-] ldh|13 years ago|reply
[+] [-] mise|13 years ago|reply
Too much vim in my browser at once. Vimium didn't like interacting with the window, and interpreted my typing with a back-button action.
[+] [-] danneu|13 years ago|reply