-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
/
Copy pathvimr.ts
56 lines (55 loc) · 1.29 KB
/
vimr.ts
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
56
const completionSpec: Fig.Spec = {
name: "vimr",
description: "VimR — Neovim GUI for macOS in Swift",
args: {
template: ["filepaths", "folders"],
},
options: [
{
name: ["-h", "--help"],
description: "Show help",
},
{
name: "--dry-run",
description: "Just print the 'open' command",
},
{
name: "--cwd",
description: "Set the working directory",
args: {
name: "CWD",
},
},
{
name: "--line",
description: "Go to line",
args: {
name: "LINE",
},
},
{
name: "--wait",
description:
"This command line tool will exit when the corresponding UI window is closed",
},
{
name: "--nvim",
description:
"All arguments except --cur-env, --line, --dry-run and --wait will be passed over to the (new) nvim instance in a new UI window",
},
{
name: "--cur-env",
description:
"Use the current environment variables when launching the background neovim process. All files will be opened in a new window",
},
{
name: "-n",
description: "Open files in tabs in a new window",
},
{
name: "-s",
description: "Open files in separate windows",
},
],
};
export default completionSpec;