aboutsummaryrefslogtreecommitdiff
path: root/dot_config/herdr/plugins/github/herdr-splits-d880c4924f2b/herdr-plugin.toml
blob: df6d5aead0ff3e1663dd2e5e9f179ba88e886dc0 (plain) (blame)
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
id = "herdr-splits"
name = "Herdr Splits"
version = "0.5.1"
min_herdr_version = "0.7.0"
description = "Seamless navigation and resizing between Herdr panes and Neovim splits"
platforms = ["linux", "macos"]

# Herdr-side navigation actions. These check if the focused pane is running
# Neovim and either forward the key chord or move Herdr pane focus.
# Bind them in ~/.config/herdr/config.toml:
#   [[keys.command]]
#   key = "ctrl+h"
#   type = "plugin_action"
#   command = "herdr-splits.nav-left"

[[actions]]
id = "nav-left"
title = "Navigate left (Neovim/Herder)"
contexts = ["global"]
command = ["bash", "scripts/herdr-nav.sh", "left"]

[[actions]]
id = "nav-down"
title = "Navigate down (Neovim/Herder)"
contexts = ["global"]
command = ["bash", "scripts/herdr-nav.sh", "down"]

[[actions]]
id = "nav-up"
title = "Navigate up (Neovim/Herder)"
contexts = ["global"]
command = ["bash", "scripts/herdr-nav.sh", "up"]

[[actions]]
id = "nav-right"
title = "Navigate right (Neovim/Herder)"
contexts = ["global"]
command = ["bash", "scripts/herdr-nav.sh", "right"]

[[actions]]
id = "resize-left"
title = "Resize left (Neovim/Herder)"
contexts = ["global"]
command = ["bash", "scripts/herdr-resize.sh", "left"]

[[actions]]
id = "resize-down"
title = "Resize down (Neovim/Herder)"
contexts = ["global"]
command = ["bash", "scripts/herdr-resize.sh", "down"]

[[actions]]
id = "resize-up"
title = "Resize up (Neovim/Herder)"
contexts = ["global"]
command = ["bash", "scripts/herdr-resize.sh", "up"]

[[actions]]
id = "resize-right"
title = "Resize right (Neovim/Herder)"
contexts = ["global"]
command = ["bash", "scripts/herdr-resize.sh", "right"]