ewoowe/session-messages-plugin ↗★ 0
dsh-session-messages
Session messages viewer: a keyboard-driven overlay for listing and jumping to messages within the current session.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ewoowe/session-messages-plugin说明文档
阅读完整 README ↗Usage
| Input | Effect |
|---|---|
Ctrl+S | Open / close the message list |
↑ ↓ | Move the highlight |
Alt+↑ ↓, PageUp PageDown | Page: the list scrolls one screenful while the highlight holds its place (it meets the edge at either end); with a maxRows small enough to fit one screen, pages switch whole |
Enter | Jump to the highlighted message |
| Mouse move / click | Move the highlight / jump |
| Wheel | Move the highlight, one row per notch; a trackpad accumulates its much smaller travel into whole rows. Direction follows wheelInverted |
Esc | Close |
The paging Alt is ⌥ Option on macOS — the same physical key — and the hint bar prints
whichever name the platform uses. On a MacBook with no dedicated paging keys, Fn+↑ ↓ works:
macOS translates it to PageUp / PageDown.
Configuration
Edit the config: block of cordis.patch.yml, or override it by id session-messages in the
profile's own cordis.patch.yml. The shortcut is not hardcoded in the source:
| Field | Default | Meaning |
|---|---|---|
key | s | The lowercase form of KeyboardEvent.key |
ctrl | true | Whether Ctrl is required |
alt | false | Whether Alt is required |
shift | false | Whether Shift is required |
meta | false | Whether Meta is required (Cmd on macOS, Win) |
wheelInverted | false | Wheel direction. Off: scrolling up selects the previous row; on: scrolling up selects the next |
maxRows | 50 | Most rows the list renders at once; the window follows the highlight a page at a time, so this doubles as "rows per page" |
showHud | false | Whether the viewport strip is shown in the session header (see below). Off by default |
For Cmd+S on macOS: ctrl: false, meta: true.