comparison doc/core.txt @ 1:7c5bd18befd2 default tip

Some basic usage
author Luka Sitas <lsitas@avatarasoftware.com>
date Tue, 10 Mar 2026 21:31:17 -0400
parents 7bb5f650cfb7
children
comparison
equal deleted inserted replaced
0:7bb5f650cfb7 1:7c5bd18befd2
1 *core.txt* Simple example Vim plugin 1 *core.txt* Simple example Vim plugin
2 2
3 INTRODUCTION *core* 3 INTRODUCTION *core*
4 4
5 core is a minimal example plugin. 5 core is a minimal plugin providing some consistent and
6 re-usable functionality.
6 7
7 USAGE *core-usage* 8 USAGE *core-usage*
8 9
9 :CoreGreet 10 function core#PopupCommand({command})
10 Echo a greeting message. You can customize it with 11 Create a popup that runs a terminal {command}
11 g:core_greeting:
12 12
13 > let g:core_greeting = 'Hi there!' 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.
14 19
15 INSTALLATION *core-install* 20 INSTALLATION *core-install*
16 21
17 Using vim-plug add the following: 22 Using vim-plug add the following:
18 23