Expand description
Open files (optionally at line:col) in existing Nvim / Helix pane.
§Arguments
editorTarget editor (nvim|hx).file_pathFile to open (append :line:col to jump location).pane_idOptionalWezTermpane ID (auto-detected if omitted).
§Usage
oe nvim src/lib.rs # open file in existing nvim pane
oe nvim src/lib.rs:42:5 # jump to line 42 col 5
oe hx README.md 1234567890 # explicit pane id§Flow
- Parse editor + file + optional pane id.
- Resolve target pane (sibling) and enrich PATH for
Wezterm. - Construct editor open command & send keystrokes via
WeztermCLI. - Activate target pane.
§Errors
- Missing editor or file argument.
- Pane id parse or discovery fails.
- Sibling pane detection fails.
- File path parsing / validation fails.
- Spawning shell command fails.
- Required environment variable read fails.
Structs§
- Env 🔒
- Wrapper for environment variables.
Functions§
- get_
enriched_ 🔒path_ env - Creates enriched PATH for
WezTermintegration. - main 🔒
- Open files (optionally at line:col) in existing Nvim / Helix pane.