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!
set editor=(command line here), if you were curious. I've found you can easily check if an option for something exists by using :set and its nice autocompletion.
Decent, but really the context shift is too intrusive for everyday use. I use vim on command-line (with set -o vi), so it's not like a regular textarea is too small for it to be useful either.
so, the links provided on that page don't work. There's a sourceforge project by that name, with some ancient code that won't work in Chrome... do you have a link to a version / repo of that that works in modern browsers?
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>.)
It works on OSX because it appears the operating system automatically creates a keypress of scancode 27 (escape) when you press "^[".
The special code in term_keypress_inner to handle this combination of keys is never hit, because no keypress event is created for ^[, but it isn't necessary on OSX due to the above feature.
You could expand your handling of keyup/keydown to handle it. For example, change your keyup handler to the following:
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.
"We've introduced App folders: app-specific folders that Dropbox will automatically create and keep track of, even when users move or rename them."
I assume that means a fine-grained folder instead of the scary "entire Dropbox" situation. It was introduced on 8 months ago, but there's little detail on it.
(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.)
I would miss caps lock. As soon as I see >2 upper-case letters in a row, I use it. I don't know how people bother to type long acronyms and other words in caps without it.
> I'm not sure it would be such a good idea to implement a hodgepodge of random peoples' mappings.
Ctrl-C is not a (user-defined) mapping. It will leave insert mode, but will not trigger things like abbreviations and autocommands (in Vim), so it's not a good idea to use it over Ctrl-[ (which is supported) or <esc>.
but it does not interact nicely anyway. try to use esc to break out of something. (ctrl-] does not work either as it is (rightly so) also captured by pentadactyl.)
Ability to edit files off Box / DropBox is a big plus. Is there a mailing list or something like that (some RSS feed for a development blog) where I will be able to see when updates are made? I would like to start using this as soon as features like vertical column selection / yanking and pasting as well as line numbers are put in (the nature of the files I have on DropBox call for those features :|)
http://www.ymacs.org/demo/