Commit Graph

6 Commits

Author SHA1 Message Date
Levi Neely 33790043d8 docs: bring all docs up to date after the split/rename
- docs/radials.example.json: the config comments and the launcher-door action
  names were still Ollie-era — 'Copy to .../olliepalette/radials.json' ->
  'deft/radials.json', and ollie_goto_file/ollie_goto_symbol/ollie_command_palette
  -> deft_goto_file/deft_goto_symbol/deft_command_palette (the objectNames the
  radial plugin actually resolves; verified against radialconfig.cpp).
- docs/PLUMBING.md: replaced the dead 'See PLAN.md' pointer with the real
  implementation location (src/plumb/, plumb_lib + plumbplugin).
- README: link docs/radials.example.json from the radial Configure note.
- AGENTS.md: drop the environment-specific LSP-bridge remark (not universal
  contributor guidance); keep the plain 'read before you edit' rule.

PERF.md and SAM.md were already accurate and are unchanged.
2026-10-08 20:44:50 +02:00
Levi Neely 7495d82019 Radial: cleaner split labels + warp cursor into the created pane
Replace the ▯▯/⊟ glyphs with 'Split |' (left/right) and 'Split —'
(top/bottom), which render cleanly in any font. Extend isPaneFocusAction
to view_split_vert/horiz so the cursor warps onto the newly created pane
(Kate activates it), and defer the warp ~a frame (16ms) so a freshly laid-
out split pane has geometry before QCursor/mapTo reads its centre.
2026-10-08 12:27:07 +02:00
Levi Neely 145d597742 Radial: shorten built-in slice labels to fit the wedges
The wedge label rect is fixed-size, so long labels crowded/overflowed.
Edit radial: Comment->Cmnt, Uncomment->Uncmnt, Uppercase->UPPER,
Lowercase->lower, Join Lines->Join, Multi-Cursor->Cursors, Go to File…->
File…, Go to Symbol…->Sym…, Command Palette…->M-x. Window radial:
Split Vertical/Horizontal->Split ▯▯ / Split ⊟, Close Split->Close,
Close Others->Only, Toggle Orientation->Rotate, focus dirs->← → ↑ ↓,
Previous->Prev. Labels only; action ids unchanged. Example config synced.
2026-10-08 11:55:50 +02:00
Levi Neely afedc88ac9 Radial: add window/split radial on the middle mouse button
Second built-in radial 'window' bound to MiddleButton: Split Vertical/
Horizontal, Close Split, Close Others, Toggle Orientation, and a Focus
sub-branch (go_left/right/up/down/next/prev_split_view). Leaf ids are
Kate view-manager action objectNames, resolved via findActionByName.

Route a plain middle press (no left held) to the radial dispatch instead
of unconditionally consuming it: the left+middle Cut chord still fires
(left held), and the X11 middle-click primary paste is still suppressed
on release in both paths. Clear m_swallowMiddleRelease when a gesture
consumes the release.

Example config + builtinHasWindowRadialOnMiddleButton test updated.
2026-10-08 11:53:19 +02:00
Levi Neely caa1e911b8 Radial: add Go-to-File and Go-to-Symbol slices
Add ollie_goto_file and ollie_goto_symbol to the built-in radial's 'More'
branch, next to the command-palette escape hatch (panel-opening switchers
belong there, not the in-place top ring). onRadialActivated already
resolves both ids. Example config + a builtinDefaultHasLauncherSlices
test updated.
2026-10-08 10:43:56 +02:00
Levi Neely 219ad8e56c Radial: load user config from XDG, fall back to built-in
RadialConfig::load() reads $XDG_CONFIG_HOME/olliepalette/radials.json
when present and non-empty, else builtinDefault(); a broken/empty file
also falls back so the user is never left without radials. Add
userConfigPath() and loadFile(path,&error). setupRadials() now calls
load(). Example at docs/radials.example.json. 4 new tests.
2026-10-08 09:35:27 +02:00