63 lines
1.6 KiB
TOML
63 lines
1.6 KiB
TOML
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"]
|