@@ -81,8 +81,8 @@ M-x package-install RET pi-coding-agent RET
8181#+end_src
8282
8383MELPA installs =transient=, =md-ts-mode=, and =markdown-table-wrap= automatically.
84- =pi-coding-agent= uses =md-ts-mode= only for its own chat buffers, so
85- installing or loading it does not change how unrelated =.md= files open.
84+ =pi-coding-agent= uses =md-ts-mode= only for its own chat and input buffers,
85+ so installing or loading it does not change how unrelated =.md= files open.
8686If you want tree-sitter Markdown globally, configure =md-ts-mode=
8787separately.
8888
@@ -157,7 +157,7 @@ pi instead. If =M-x pi-coding-agent= starts but says no model is available,
157157the CLI usually still needs authentication.
158158
159159pi-coding-agent uses Emacs's built-in tree-sitter support to render
160- markdown and highlight code blocks in the chat buffer . This requires
160+ markdown and highlight code blocks in the chat and input buffers . This requires
161161small grammar libraries to be compiled and installed — a one-time step
162162that needs a C compiler (=gcc= or =cc=).
163163
@@ -226,9 +226,9 @@ Press =C-c C-p= to access the full menu with model selection, thinking level,
226226completed-thinking settings for this chat and for future chat buffers, session
227227management (new, resume, fork, export), statistics, and custom commands.
228228
229- Completed thinking is collapsed by default. Press =TAB= on a completed-thinking
230- line to expand that block, use =C-c C-p h= for this chat, or =C-c C-p H= for
231- future chat buffers in the current Emacs session.
229+ Completed thinking is expanded by default. Press =TAB= inside a completed-thinking
230+ block to collapse or expand that block, use =C-c C-p h= for this chat, or
231+ =C-c C-p H= for future chat buffers in the current Emacs session.
232232
233233* Tips & Tricks
234234
@@ -270,8 +270,8 @@ component-based views are unavailable or fall back.
270270
271271New chat buffers inherit the user option =pi-coding-agent-thinking-display=,
272272which controls how completed assistant thinking is shown. The default is
273- =hidden =: live thinking still streams while the assistant is working, then it
274- collapses when that thinking block finishes. Use =C-c C-p h= to switch this
273+ =visible =: live thinking streams while the assistant is working and remains
274+ expanded when that thinking block finishes. Use =C-c C-p h= to switch this
275275chat, or =C-c C-p H= to change the default for future chat buffers in the
276276current Emacs session. To make that default stick across restarts, set
277277=pi-coding-agent-thinking-display= in your init file or via
@@ -359,10 +359,10 @@ Example configuration with =use-package=:
359359 (pi-coding-agent-context-error-threshold 90) ; Critical when context exceeds this %
360360 (pi-coding-agent-visit-file-other-window t) ; RET opens file in other window (nil for same)
361361 (pi-coding-agent-hot-tail-turn-count 3) ; Recent headed turns that re-wrap on resize
362- ;; (pi-coding-agent-thinking-display 'visible ) ; Expand completed thinking by default
362+ ;; (pi-coding-agent-thinking-display 'hidden ) ; Collapse completed thinking by default
363363 ;; (pi-coding-agent-thinking-hidden-preview nil) ; Always use generic "Thinking hidden…" stubs
364364 ;; (pi-coding-agent-copy-raw-markdown t) ; Keep raw markdown on copy (default: strip hidden markup)
365- ;; (pi-coding-agent-input-markdown-highlighting t) ; tree-sitter markdown highlighting in input buffer
365+ ;; (pi-coding-agent-input-markdown-highlighting nil) ; Plain text input buffer
366366 )
367367#+end_src
368368
@@ -371,9 +371,10 @@ Copying from the chat buffer strips hidden markdown markup by default —
371371=pi-coding-agent-copy-raw-markdown= to =t= for raw markdown, useful
372372when pasting into docs, Slack, or other markdown-aware contexts.
373373
374- The input buffer uses plain =text-mode= by default. Set
375- =pi-coding-agent-input-markdown-highlighting= to =t= for tree-sitter
376- markdown highlighting (bold, code spans, fenced blocks) in new sessions.
374+ The input buffer uses tree-sitter Markdown highlighting by default (bold,
375+ code spans, fenced blocks) while keeping the typed markup characters visible.
376+ Set =pi-coding-agent-input-markdown-highlighting= to =nil= for plain text input
377+ buffers in new sessions.
377378
378379** Markdown tables
379380
0 commit comments