[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] dropdown control in buffer

From: ben
Subject: Re: [vile] dropdown control in buffer
Date: Wed, 08 Feb 2012 23:41:04 +0100
User-agent: Postbox 3.0.2 (Macintosh/20111203)

just to understand you right, are talking about viles minibuffer? Interesting idea. I think it would interesting to know if it possible to:

1. invoke the minibuffer with a typical autocompletion key sequence say 'ctrl-space'.
2. then the minibuffer is populated dynamically, with results coming from a computation based on the context of the cursors position in the main buffer
3. with 'enter' an item from the minibuffer is choosen and appended right after the said cursor

is this (theoretically) possible?


Thomas Dickey wrote:
On Wed, Feb 08, 2012 at 06:31:37PM +0100, ben wrote:

Is it possible to open a something like a dropdown control inside viles  
main buffer? Similar to what vim provides for all kinds of completion 

That's a question with more than one part.  While I'm aware that there's
an add-on (cream, which was inspired so to say by the menuing package
that John Davis wrote for jed) which provides menus - your comment about
"dropdown control" sounds as if you're referring to that, vim "normally"
provides a simpler sort of completion (cycling through possibilities on
the ":" line).

vile has built-in a different type of completion on the ":"-line,
which is normally activated by a repeated tab character.  That tells
it to show a buffer listing the possible completions - for filenames,
command-names, tags, variables.  (There is also a simpler scheme which
works all on the ":"-line.

It's described in the help file, in particular this section:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]