-
Notifications
You must be signed in to change notification settings - Fork 1
/
ddu-vim-ui-select.txt
55 lines (41 loc) · 1.69 KB
/
ddu-vim-ui-select.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
*ddu-vim-ui-select.txt* Replace |vim.ui.select()| with ddu
Author: matsui54 <haru.matu9168 at gmail.com>
License: MIT license
CONTENTS *ddu-vim-ui-select-contents*
Introduction |ddu-vim-ui-select-introduction|
Install |ddu-vim-ui-select-install|
Usage |ddu-vim-ui-select-usage|
Params |ddu-vim-ui-select-params|
Actions |ddu-kind-help-actions|
==============================================================================
INTRODUCTION *ddu-vim-ui-select-introduction*
This plugin replaces |vim.ui.select()| with ddu's ui.
This plugin can only be used with Neovim.
==============================================================================
INSTALL *ddu-vim-ui-select-install*
Please install both "ddu.vim" and "denops.vim".
https://github.com/Shougo/ddu.vim
https://github.com/vim-denops/denops.vim
==============================================================================
USAGE *ddu-vim-ui-select-usage*
This plugin automatically register |vim.ui.select()| on initialization.
Also, the plugin has ddu kind and sources (named "ui_select"), so add the
settings like this.
>
call ddu#custom#patch_global({
\ 'kindOptions': {
\ 'ui_select': {
\ 'defaultAction': 'select',
\ },
\ }
\ })
<
==============================================================================
PARAMS *ddu-vim-ui-select-params*
==============================================================================
ACTIONS *ddu-kind-ui_select-actions*
*ddu-kind-ui_select-action-select*
select
Select the item and execute the callback.
==============================================================================
vim:tw=78:ts=8:ft=help:norl:noet:fen:noet: