Repository navigation
Replies: 1 comment
|
+1. I maintain neopane, which shows each Neovim window in its own herdr pane. To open a pane running a command beside another one, it currently does a |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
idea / problem
herdr pane splitcurrently creates a normal interactive shell. Opening aspecific TUI therefore requires splitting the pane first and then calling
herdr pane run.On macOS with
shell_mode = "auto", this briefly starts a login shell andruns shell initialization such as direnv before the requested command. Plugin
panes can launch an argv-backed process directly, but requiring a plugin for a
one-off split command feels unnecessarily heavy.
requested change
Allow
pane splitto optionally launch an argv command directly, withoutstarting the configured shell.
For example:
herdr pane split \ --current \ --direction right \ --cwd "$PWD" \ --focus \ -- lazygitThe socket API could expose the same capability as an optional command array:
{ "method": "pane.split", "params": { "pane_id": "w1:p1", "direction": "right", "command": ["lazygit"] } }When no command is provided, the existing interactive-shell behavior would
remain unchanged.
why you want this
Direct argv launching in
pane splitwould atomically open TUIs and othercommands in split panes without login-shell startup, direnv activity,
initialization delays, or visible shell output before the requested command
starts.
All reactions