[Vimprobable-users] Editor patch, revised
Vimprobable is a lean web browser optimised for full keyboard control
Brought to you by:
hanness
From: Markus D. <msd...@ar...> - 2012-09-27 20:55:27
|
Hi, I've taken Hannes' patch for the external editor and changed it to emply the handler mechanism. Basically, you say handler vimprobableedit vim -gf %s in your vimprobablerc, and when hitting ^t in a text field, you'll get a gvim window. This also fixes a bug in which the ":" protocol separator did not get stripped from the argument in open_handler (but frankly, that code is extremely spooky -- does anyone actually understand what all the temp magic is supposed to do?). One "architectural" question: I'm potentially emitting quit a bit of diagnostics -- is give_feedback the right function for this? Should I do something else yet? If people are happy with the way this works, I'd go ahead and document it (plus probable bug fixing); I guess the vim -gf shold be a builtin default, shouldn't it? While I'm here: I'd like to add a toggle syntax for boolean flags, probably along the lines of vim{perator}'s set inv{option}; this is to support stuff like map <C-S> set invscripts or so. Would anyone consider this feature bloat? Even more featurecreepy would be to have indicators of script and proxy in the status line (little S and P chars at the very right, I'd guess). Are their any strong feelings about that? Cheers, Markus |