From 7b8f6990837ed2df63b533c7bbcd5bf6835efef7 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sat, 16 May 2026 18:33:23 +0300 Subject: feat: add scrollback editor keybind refs #122 --- .pi/docs/CHANGELOG.md | 3 +++ .pi/docs/CONFIGURATION.md | 4 ++++ 2 files changed, 7 insertions(+) (limited to '.pi/docs') diff --git a/.pi/docs/CHANGELOG.md b/.pi/docs/CHANGELOG.md index 2af756a5..d3bacc74 100644 --- a/.pi/docs/CHANGELOG.md +++ b/.pi/docs/CHANGELOG.md @@ -2,6 +2,9 @@ ## Unreleased +### Added +- Added optional `keys.edit_scrollback` to open the focused pane's retained scrollback in `$EDITOR` inside a temporary zoomed pane. + ### Fixed - GitHub Copilot is now correctly detected when its process name is `copilot`. - Integration installs now respect `PI_CODING_AGENT_DIR`, `CLAUDE_CONFIG_DIR`, and `CODEX_HOME` when choosing Pi, Claude Code, and Codex config paths. diff --git a/.pi/docs/CONFIGURATION.md b/.pi/docs/CONFIGURATION.md index 073a369f..6295f5e3 100644 --- a/.pi/docs/CONFIGURATION.md +++ b/.pi/docs/CONFIGURATION.md @@ -103,6 +103,7 @@ split_vertical = "d" split_horizontal = "D" close_pane = "x" rename_pane = "" # optional, unset by default +edit_scrollback = "" # optional, opens focused pane scrollback in $EDITOR fullscreen = "f" resize_mode = "r" toggle_sidebar = "b" @@ -151,10 +152,13 @@ agents = "" # optional; follows visible agent panel order | `split_horizontal` | `-` | split pane horizontally (stacked) | | `close_pane` | `x` | close focused pane | | `rename_pane` | unset | rename the focused pane | +| `edit_scrollback` | unset | open the focused pane's retained scrollback in `$EDITOR` inside a temporary zoomed pane | | `fullscreen` | `f` | toggle focused pane fullscreen | | `resize_mode` | `r` | enter or leave resize mode | | `toggle_sidebar` | `b` | collapse or expand the sidebar | +`edit_scrollback` writes the focused pane's retained plain-text scrollback to a temporary file, opens `${EDITOR:-vi}` on that file in a temporary zoomed pane, then removes the file when the editor exits. + ### indexed keybindings Use `[keys.indexed]` to bind number keys `1` through `9` as positional shortcuts. Each value is a modifier combo only. Empty values disable that shortcut family. -- cgit v1.2.3