SpaceVim

A modular Vim/Neovim configuration


Home | About | Quick start guide | Documentation | Development | Community | Sponsors | 中文


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)

Powered by Jekyll