1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:20:05 +08:00
SpaceVim/docs/api/cmdlinemenu.md
2020-09-14 22:47:49 +08:00

569 B

title description
cmdlinemenu API cmdlinemenu API provides interface for making choices in a command line.

Available APIs >> cmdlinemenu

Intro

cmdlinemenu API provides interface for making choices in a command line.

here is an example for using this API:

let menu = SpaceVim#api#import('cmdlinemenu')
let ques = [
    \ ['basic mode', function('s:basic_mode')],
    \ ['dark powered mode', function('s:awesome_mode')],
    \ ]
call menu.menu(ques)