Re: [Vimprobable-users] two ideas to improve the quickmarks
Vimprobable is a lean web browser optimised for full keyboard control
Brought to you by:
hanness
From: Hannes S. <ha...@yl...> - 2013-04-25 09:27:44
|
Hi Marcos! Marcos Cruz <vim...@pr...> wrote: > == First idea > > It would be nice to use any (ASCII?) letter as quickmark (even better, > optionally, case sensitive). Digits are more difficult to remember. > > I think the changes in the code would not be big. I fear you're underestimating the necessary changes for this; the current quickmark is not that flexible. Check out keymap.h - all shortcuts are hardcoded there. > == Second idea > > [...] > > That would mean a whole rewrite of the quickmarks' code, but I think > there's an easier alternative: The current searchengines feature is > already very similar and it could be easily modifed into an > alternative generic shortcuts system: Simply the search string (%s) > should be optional: no %s defined in the shortcut, no parameter > expected. Currently %s is mandatory and a searchengine shortcut > without its string parameter is not recognized, but passed as search > string to the default search engine. I like this very much! In fact, I'd say this would be fairly easy to do if we just go for making %s optional. The whole thing about other parameters, I'm not sure what we'd need them for. Could you sketch some basic scenarios when they would prove useful? Hannes |