inline-editor

Enable inline text editing in the file browser preview pane via tmux-backed PTY.

1.0k|79|Updated Dec 26, 2025
One-click install
npx skills add https://github.com/marcus/sidecar --skill inline-editor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: inline-editor
Source: https://github.com/marcus/sidecar/tree/main/.claude/skills/inline-editor
Command: npx skills add https://github.com/marcus/sidecar --skill inline-editor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Inline editing within the file browser preview pane lets you modify text without leaving the TUI, preserving context and file tree visibility.

Core Features & Use Cases

  • Inline editing in the file browser preview pane using a tmux PTY backend, enabling edits with your preferred editor (vim, nvim, nano, etc.) without switching away from the file tree.
  • Lifecycle management including entry/exit, dimension calculations, confirmation dialogs, and click-away handling to prevent data loss.
  • Supports multiple editors and a safe exit flow with on-demand rendering of the editor within the preview area.

Quick Start

Enable the inline editor feature and open a file in the file browser to start editing.

Frequently Asked Questions about inline-editor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I edit files inline within a terminal file browser preview?

Inline file editing in a terminal file browser preview is enabled by rendering an editor directly inside the preview pane using a tmux PTY backend. This allows you to modify text without switching away from the file tree.

Can I use vim or nano to edit code directly in the Sidecar TUI file browser?

Yes, you can use preferred editors like vim, nvim, or nano to edit code directly in the Sidecar TUI file browser. The integration maps your editor into the preview area via a tmux-backed PTY.

Do I need tmux to run inline editing in the terminal UI?

Yes, a tmux-backed PTY integration is required to run inline editing in the terminal UI. This backend manages the editor lifecycle, in-pane rendering, and safe exit flows.

How does the inline editor handle click-away events to prevent data loss?

The inline editor prevents data loss during click-away events by triggering a robust exit and confirmation flow. This lifecycle management ensures unsaved changes are verified before leaving the preview pane.

What is the best way to maintain file tree visibility while editing notes in a TUI?

The best way to maintain file tree visibility while editing notes in a TUI is using an inline editor that renders on-demand within the existing preview area. This preserves navigation context without opening a separate full-screen editor window.