diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-16 18:33:23 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-16 18:33:23 +0300 |
| commit | 7b8f6990837ed2df63b533c7bbcd5bf6835efef7 (patch) | |
| tree | 236232c2da60e011f3c2b1630f5a5e34fb7b022f /.pi | |
| parent | 170d5674872fe030777ceb97e18b38a0e9ddbc2f (diff) | |
feat: add scrollback editor keybind
refs #122
Diffstat (limited to '.pi')
| -rw-r--r-- | .pi/docs/CHANGELOG.md | 3 | ||||
| -rw-r--r-- | .pi/docs/CONFIGURATION.md | 4 |
2 files changed, 7 insertions, 0 deletions
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. |
