|
0
|
1 *core.txt* Simple example Vim plugin
|
|
|
2
|
|
|
3 INTRODUCTION *core*
|
|
|
4
|
|
1
|
5 core is a minimal plugin providing some consistent and
|
|
|
6 re-usable functionality.
|
|
0
|
7
|
|
|
8 USAGE *core-usage*
|
|
|
9
|
|
1
|
10 function core#PopupCommand({command})
|
|
|
11 Create a popup that runs a terminal {command}
|
|
0
|
12
|
|
1
|
13 function core#ReadOnlyPopup(content)
|
|
|
14 Create a read only popup with the {contents}.
|
|
|
15 There is currently no easy way to close this buffer.
|
|
|
16
|
|
|
17 function core#ExecuteCommand(command)
|
|
|
18 Executes {command} and returns the results.
|
|
0
|
19
|
|
|
20 INSTALLATION *core-install*
|
|
|
21
|
|
|
22 Using vim-plug add the following:
|
|
|
23
|
|
|
24 Plug '/home/lsitas/repos/vim_plugins/core'
|
|
|
25
|
|
|
26
|
|
|
27 *core* Main help entry for this plugin.
|