@@ -163,23 +163,23 @@ export function Tips(props: { api: TuiPluginApi; connected?: boolean }) {
163163
164164const TIPS : Tip [ ] = [
165165 "Type {highlight}@{/highlight} followed by a filename to fuzzy search and attach files" ,
166- "Start a message with {highlight}!{/highlight} to run shell commands directly (e.g., {highlight}!ls -la{/highlight})" ,
166+ "Start a message with {highlight}!{/highlight} to run shell commands (e.g., {highlight}!ls -la{/highlight})" ,
167167 ( shortcuts ) => press ( shortcuts . agentCycle ( ) , "to cycle between Build and Plan agents" ) ,
168168 "Use {highlight}/undo{/highlight} to revert the last message and file changes" ,
169169 "Use {highlight}/redo{/highlight} to restore previously undone messages and file changes" ,
170- "Run {highlight}/share{/highlight} to create a public link to your conversation at opencode.ai" ,
171- "Drag and drop images or PDFs into the terminal to add them as context" ,
170+ "Run {highlight}/share{/highlight} to create a public opencode.ai link " ,
171+ "Drag and drop images or PDFs into the terminal as context" ,
172172 ( shortcuts ) => press ( shortcuts . inputPaste ( ) , "to paste images from your clipboard into the prompt" ) ,
173173 ( shortcuts ) => `Use ${ commandText ( "/editor" , shortcuts . editorOpen ( ) ) } to compose messages in your external editor` ,
174174 "Run {highlight}/init{/highlight} to auto-generate project rules based on your codebase" ,
175- ( shortcuts ) => `Use ${ commandText ( "/models" , shortcuts . modelList ( ) ) } to see and switch between available AI models` ,
175+ ( shortcuts ) => `Use ${ commandText ( "/models" , shortcuts . modelList ( ) ) } to switch between available AI models` ,
176176 ( shortcuts ) => `Use ${ commandText ( "/themes" , shortcuts . themeList ( ) ) } to switch between ${ themeCount } built-in themes` ,
177177 ( shortcuts ) => `Use ${ commandText ( "/new" , shortcuts . sessionNew ( ) ) } to start a fresh conversation session` ,
178178 ( shortcuts ) => `Use ${ commandText ( "/sessions" , shortcuts . sessionList ( ) ) } to list, pin, and continue sessions` ,
179- ( shortcuts ) => press ( shortcuts . sessionPinToggle ( ) , "in the session list to pin a session so it stays at the top" ) ,
179+ ( shortcuts ) => press ( shortcuts . sessionPinToggle ( ) , "in the session list to pin one at the top" ) ,
180180 ( shortcuts ) =>
181181 shortcuts . sessionQuickSwitch1 ( ) && shortcuts . sessionQuickSwitch9 ( )
182- ? `Pinned sessions are assigned quick slots; use ${ shortcutText ( shortcuts . sessionQuickSwitch1 ( ) ) } through ${ shortcutText ( shortcuts . sessionQuickSwitch9 ( ) ) } to switch`
182+ ? `Use ${ shortcutText ( shortcuts . sessionQuickSwitch1 ( ) ) } through ${ shortcutText ( shortcuts . sessionQuickSwitch9 ( ) ) } to switch pinned sessions `
183183 : undefined ,
184184 "Run {highlight}/compact{/highlight} to summarize long sessions near context limits" ,
185185 ( shortcuts ) => `Use ${ commandText ( "/export" , shortcuts . sessionExport ( ) ) } to save the conversation as Markdown` ,
@@ -198,7 +198,7 @@ const TIPS: Tip[] = [
198198 ( shortcuts ) => press ( shortcuts . inputNewline ( ) , "to add newlines in your prompt" ) ,
199199 ( shortcuts ) => press ( shortcuts . inputClear ( ) , "when typing to clear the input field" ) ,
200200 ( shortcuts ) => press ( shortcuts . sessionInterrupt ( ) , "to stop the AI mid-response" ) ,
201- "Switch to {highlight}Plan{/highlight} agent to get suggestions without making actual changes" ,
201+ "Switch to {highlight}Plan{/highlight} agent for suggestions without making changes" ,
202202 "Use {highlight}@agent-name{/highlight} in prompts to invoke specialized subagents" ,
203203 ( shortcuts ) => {
204204 const items = [
@@ -208,27 +208,27 @@ const TIPS: Tip[] = [
208208 shortcuts . childNext ( ) ,
209209 ] . filter ( Boolean )
210210 if ( ! items . length ) return undefined
211- return `Use ${ items . map ( shortcutText ) . join ( " / " ) } to move between parent and child sessions`
211+ return `Use ${ items . map ( shortcutText ) . join ( " / " ) } for parent/ child sessions`
212212 } ,
213- "Create {highlight}opencode.json{/highlight} for server settings and {highlight}tui.json{/highlight} for TUI settings " ,
213+ "Create {highlight}opencode.json{/highlight} for server settings, and {highlight}tui.json{/highlight} for TUI" ,
214214 "Place TUI settings in {highlight}~/.config/opencode/tui.json{/highlight} for global config" ,
215215 "Add {highlight}$schema{/highlight} to your config for autocomplete in your editor" ,
216216 "Configure {highlight}model{/highlight} in config to set your default model" ,
217217 "Override any keybind in {highlight}tui.json{/highlight} via the {highlight}keybinds{/highlight} section" ,
218218 "Set any keybind to {highlight}none{/highlight} to disable it completely" ,
219219 "Configure local or remote MCP servers in the {highlight}mcp{/highlight} config section" ,
220- "Add {highlight}.md{/highlight} files to {highlight}.opencode/commands/{/highlight} to define reusable custom prompts" ,
220+ "Add {highlight}.md{/highlight} files to {highlight}.opencode/commands/{/highlight} for reusable prompts" ,
221221 "Use {highlight}$ARGUMENTS{/highlight}, {highlight}$1{/highlight}, {highlight}$2{/highlight} in custom commands for dynamic input" ,
222- "Use backticks in commands to inject shell output (e.g., {highlight}`git status`{/highlight})" ,
222+ "Use backticks to inject shell output (e.g., {highlight}`git status`{/highlight})" ,
223223 "Add {highlight}.md{/highlight} files to {highlight}.opencode/agents/{/highlight} for specialized AI personas" ,
224224 "Configure per-agent permissions for {highlight}edit{/highlight}, {highlight}bash{/highlight}, and {highlight}webfetch{/highlight} tools" ,
225225 'Use patterns like {highlight}"git *": "allow"{/highlight} for granular bash permissions' ,
226226 'Set {highlight}"rm -rf *": "deny"{/highlight} to block destructive commands' ,
227227 'Configure {highlight}"git push": "ask"{/highlight} to require approval before pushing' ,
228- 'Set {highlight}"formatter": true{/highlight} in config to enable built-in formatters like prettier, gofmt, and ruff ' ,
229- 'Set {highlight}"formatter": false{/highlight} in config to disable formatters enabled by another config layer ' ,
228+ 'Set {highlight}"formatter": true{/highlight} to enable built-in formatters' ,
229+ 'Set {highlight}"formatter": false{/highlight} to disable inherited formatters ' ,
230230 "Define custom formatter commands with file extensions in config" ,
231- 'Set {highlight}"lsp": true{/highlight} in config to enable built-in LSP servers for code analysis' ,
231+ 'Set {highlight}"lsp": true{/highlight} to enable built-in LSP code analysis' ,
232232 "Create {highlight}.ts{/highlight} files in {highlight}.opencode/tools/{/highlight} to define new LLM tools" ,
233233 "Tool definitions can invoke scripts written in Python, Go, etc" ,
234234 "Add {highlight}.ts{/highlight} files to {highlight}.opencode/plugins/{/highlight} for event hooks" ,
@@ -251,7 +251,7 @@ const TIPS: Tip[] = [
251251 "Create JSON theme files in {highlight}.opencode/themes/{/highlight} directory" ,
252252 "Themes support dark/light variants for both modes" ,
253253 "Use numeric xterm color codes 0-255 in custom theme JSON" ,
254- "Use {highlight}{env:VAR_NAME}{/highlight} syntax to reference environment variables in config" ,
254+ "Use {highlight}{env:VAR_NAME}{/highlight} for environment variables in config" ,
255255 "Use {highlight}{file:path}{/highlight} to include file contents in config values" ,
256256 "Use {highlight}instructions{/highlight} in config to load additional rules files" ,
257257 "Set agent {highlight}temperature{/highlight} from 0.0 (focused) to 1.0 (creative)" ,
@@ -269,12 +269,12 @@ const TIPS: Tip[] = [
269269 ( shortcuts ) => `Use ${ commandText ( "/timeline" , shortcuts . sessionTimeline ( ) ) } to jump to specific messages` ,
270270 ( shortcuts ) => press ( shortcuts . messagesToggleConceal ( ) , "to toggle code block visibility in messages" ) ,
271271 ( shortcuts ) => `Use ${ commandText ( "/status" , shortcuts . statusView ( ) ) } to see system status info` ,
272- "Enable {highlight}scroll_acceleration{/highlight} in {highlight}tui.json{/highlight} for smooth macOS-style scrolling" ,
272+ "Enable {highlight}scroll_acceleration{/highlight} in {highlight}tui.json{/highlight} for smooth scrolling" ,
273273 ( shortcuts ) =>
274274 shortcuts . commandList ( )
275275 ? `Toggle username display in chat via the command palette (${ shortcutText ( shortcuts . commandList ( ) ) } )`
276276 : "Toggle username display in chat via the command palette" ,
277- "Run {highlight}docker run -it --rm ghcr.io/anomalyco/opencode{/highlight} for containerized use " ,
277+ "Run {highlight}docker run -it --rm ghcr.io/anomalyco/opencode{/highlight} in a container " ,
278278 "Use {highlight}/connect{/highlight} with OpenCode Zen for curated, tested models" ,
279279 "Commit your project's {highlight}AGENTS.md{/highlight} file to Git for team sharing" ,
280280 "Use {highlight}/review{/highlight} to review uncommitted changes, branches, or PRs" ,
0 commit comments