Hi Marcos!

Marcos Cruz <[email protected]> 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

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Vimprobable-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vimprobable-users

Reply via email to