https://github.com/mattn/vim-prompter
https://github.com/mattn/vim-prompter
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mattn/vim-prompter
- Owner: mattn
- Created: 2016-03-02T06:14:56.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-20T03:19:06.000Z (almost 8 years ago)
- Last Synced: 2025-04-28T12:07:45.246Z (2 months ago)
- Language: Vim script
- Size: 312 KB
- Stars: 13
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Prompter


## 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)