-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathtab.yml
70 lines (59 loc) · 2.51 KB
/
tab.yml
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# This is an advanced configuration example
# The workspace tab name can be overriden with the `tab` property
# It defaults to the workspace directory name, which is `advanced-workspace` in this case.
tab: adv-workspace
# The workspace tab can have a docstring.
doc: "my workspace tab"
# Several shell properties can be set for the workspace tab, and for inline tabs defined below.
# These properties do not apply to linked repositories, or linked workspaces.
# You can override the launched shell:
shell: bash
# You can also set environment variables:
env:
MY_ENV: workspace
workspace:
# this is a workspace link. it can be used to quickly navigate to `simple-workspace`
# it can be a relative or absolute file path, to a directory which contains a `tab.yml` workspace
# whenever within the `advanced-workspace` directory, a `simple-workspace` tab will be available.
- workspace: ../simple-workspace
# This is an inline tab, which will be available at workspace-tab/
- tab: workspace-tab
# Inline workspace tabs can override the shell property, and set env variables
shell: zsh
env:
MY_ENV: workspace-tab
doc: "this is a top-level workspace tab"
# This is a repository link, which will be available at `tab repo/`,
# or the name overriden in repo/tab.yml
#
# The repo tab, and all it's subtabs will be available while within the `advanced-workspace` directory.
#
# No tab.yml configuration is required in the repo folder, though it can be helpful to shorten tab names.
- repo: repo/
# This is a workspace link, which will be available at `tab workspace/`,
# or the name overriden in workspace/tab.yml
#
# This link from a parent workspace can provide quick lateral navigation between workspaces.
#
# A workspace configuration is required at child-workspace/tab.yml
- workspace: child-workspace/
# - Global Workspace -
# Tab supports a global workspace file, which can be placed at:
# ~/.config/tab.yml
# or $XDG_CONFIG_HOME/tab.yml
# The global workspace is always active, and can be used to pin links to other workspaces/repositories,
# or define global tabs.
# The global workspace file can also be used to configure key_bindings
# Supported actions:
# - Disconnect
# - SelectInteractive (fuzzy finder)
# Supported keys:
# - ctrl-[A-Z]
# - ESC
# - visible characters, such as a-z, A-Z, 0-9, and special characters
# - multi-key sequences separated by spaces
key_bindings:
- action: Disconnect
keys: ctrl-A B C D
- action: SelectInteractive
keys: ctrl-T