d11wtq
d11wtq

Reputation: 35308

Programmatically work with the Vim command mini-buffer

I think my problem here may be that I don't have the correct terminology to search. I want to write a plugin that is interactive in the little mini-buffer area (in Emacs terminology, sorry) at the bottom of the window, where your cursor is placed when you type : to enter command mode. Plugins like FuzzyFinder and ctrlp seem to open a new buffer, but ideally I'd like to just share the command area, if that is possible, since what I want to do will always fit on a single line.

Does Vimscript allow this area to be used, much like Vim's own built-in wildmenu works? Opening a new split buffer just feels kinda clunky for what I want to do.

Happy to do the reading of the documentation myself, I just don't really have an entry point at the moment.

Upvotes: 1

Views: 394

Answers (1)

romainl
romainl

Reputation: 196556

That's the command-line.

See this Vim wiki page about input(). What kind of things do you want to do?

Upvotes: 1

Related Questions