Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mattn/vim-prompter


https://github.com/mattn/vim-prompter

Last synced: 21 days ago
JSON representation

Awesome Lists containing this project

README

        

# Prompter

![](https://raw.githubusercontent.com/mattn/vim-prompter/master/data/logo.png)

![](https://raw.githubusercontent.com/mattn/vim-prompter/master/data/screenshot.gif)

## Usage

```vim
call prompter#input()
```

### Parameters

When give String for the argument of `prompter#input()`, it is used as prompt string. When give Dictionary, it behave like below.

|key |value |
|---------|-----------------------------------------|
|prompt |prompt string |
|color |prompt color |
|on_change|callback function triggered with changed |
|on_enter |callback function triggered with decided |
|on_cancel|callback function triggered with canceled|

## TODO

* completion

## License

MIT

## Author

Yasuhiro Matsumoto (a.k.a mattn)