mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-20 10:10:56 -07:00
feat(ui): implement refreshed UX for Composer layout (#21212)
Co-authored-by: Keith Guerin <keithguerin@gmail.com>
This commit is contained in:
@@ -75,90 +75,91 @@ export const INFORMATIVE_TIPS = [
|
||||
'Set the character threshold for truncating tool outputs (/settings)…',
|
||||
'Set the number of lines to keep when truncating outputs (/settings)…',
|
||||
'Enable policy-based tool confirmation via message bus (/settings)…',
|
||||
'Enable write_todos_list tool to generate task lists (/settings)…',
|
||||
'Enable experimental subagents for task delegation (/settings)…',
|
||||
'Enable extension management features (settings.json)…',
|
||||
'Enable extension reloading within the CLI session (settings.json)…',
|
||||
//Settings tips end here
|
||||
// Keyboard shortcut tips start here
|
||||
'Close dialogs and suggestions with Esc…',
|
||||
'Cancel a request with Ctrl+C, or press twice to exit…',
|
||||
'Exit the app with Ctrl+D on an empty line…',
|
||||
'Clear your screen at any time with Ctrl+L…',
|
||||
'Toggle the debug console display with F12…',
|
||||
'Toggle the todo list display with Ctrl+T…',
|
||||
'See full, untruncated responses with Ctrl+O…',
|
||||
'Toggle auto-approval (YOLO mode) for all tools with Ctrl+Y…',
|
||||
'Cycle through approval modes (Default, Auto-Edit, Plan) with Shift+Tab…',
|
||||
'Toggle Markdown rendering (raw markdown mode) with Alt+M…',
|
||||
'Toggle shell mode by typing ! in an empty prompt…',
|
||||
'Insert a newline with a backslash (\\) followed by Enter…',
|
||||
'Navigate your prompt history with the Up and Down arrows…',
|
||||
'You can also use Ctrl+P (up) and Ctrl+N (down) for history…',
|
||||
'Search through command history with Ctrl+R…',
|
||||
'Accept an autocomplete suggestion with Tab or Enter…',
|
||||
'Move to the start of the line with Ctrl+A or Home…',
|
||||
'Move to the end of the line with Ctrl+E or End…',
|
||||
'Move one character left or right with Ctrl+B/F or the arrow keys…',
|
||||
'Move one word left or right with Ctrl+Left/Right Arrow…',
|
||||
'Delete the character to the left with Ctrl+H or Backspace…',
|
||||
'Delete the character to the right with Ctrl+D or Delete…',
|
||||
'Delete the word to the left of the cursor with Ctrl+W…',
|
||||
'Delete the word to the right of the cursor with Ctrl+Delete…',
|
||||
'Delete from the cursor to the start of the line with Ctrl+U…',
|
||||
'Delete from the cursor to the end of the line with Ctrl+K…',
|
||||
'Clear the entire input prompt with a double-press of Esc…',
|
||||
'Paste from your clipboard with Ctrl+V…',
|
||||
'Undo text edits in the input with Alt+Z or Cmd+Z…',
|
||||
'Redo undone text edits with Shift+Alt+Z or Shift+Cmd+Z…',
|
||||
'Open the current prompt in an external editor with Ctrl+X…',
|
||||
'In menus, move up/down with k/j or the arrow keys…',
|
||||
'In menus, select an item by typing its number…',
|
||||
"If you're using an IDE, see the context with Ctrl+G…",
|
||||
'Toggle background shells with Ctrl+B or /shells...',
|
||||
'Toggle the background shell process list with Ctrl+L...',
|
||||
'Close dialogs and suggestions with Esc',
|
||||
'Cancel a request with Ctrl+C, or press twice to exit',
|
||||
'Exit the app with Ctrl+D on an empty line',
|
||||
'Clear your screen at any time with Ctrl+L',
|
||||
'Toggle the debug console display with F12',
|
||||
'Toggle the todo list display with Ctrl+T',
|
||||
'See full, untruncated responses with Ctrl+O',
|
||||
'Toggle auto-approval (YOLO mode) for all tools with Ctrl+Y',
|
||||
'Cycle through approval modes (Default, Auto-Edit, Plan) with Shift+Tab',
|
||||
'Toggle Markdown rendering (raw markdown mode) with Alt+M',
|
||||
'Toggle shell mode by typing ! in an empty prompt',
|
||||
'Insert a newline with a backslash (\\) followed by Enter',
|
||||
'Navigate your prompt history with the Up and Down arrows',
|
||||
'You can also use Ctrl+P (up) and Ctrl+N (down) for history',
|
||||
'Search through command history with Ctrl+R',
|
||||
'Accept an autocomplete suggestion with Tab or Enter',
|
||||
'Move to the start of the line with Ctrl+A or Home',
|
||||
'Move to the end of the line with Ctrl+E or End',
|
||||
'Move one character left or right with Ctrl+B/F or the arrow keys',
|
||||
'Move one word left or right with Ctrl+Left/Right Arrow',
|
||||
'Delete the character to the left with Ctrl+H or Backspace',
|
||||
'Delete the character to the right with Ctrl+D or Delete',
|
||||
'Delete the word to the left of the cursor with Ctrl+W',
|
||||
'Delete the word to the right of the cursor with Ctrl+Delete',
|
||||
'Delete from the cursor to the start of the line with Ctrl+U',
|
||||
'Delete from the cursor to the end of the line with Ctrl+K',
|
||||
'Clear the entire input prompt with a double-press of Esc',
|
||||
'Paste from your clipboard with Ctrl+V',
|
||||
'Undo text edits in the input with Alt+Z or Cmd+Z',
|
||||
'Redo undone text edits with Shift+Alt+Z or Shift+Cmd+Z',
|
||||
'Open the current prompt in an external editor with Ctrl+X',
|
||||
'In menus, move up/down with k/j or the arrow keys',
|
||||
'In menus, select an item by typing its number',
|
||||
"If you're using an IDE, see the context with Ctrl+G",
|
||||
'Toggle background shells with Ctrl+B or /shells',
|
||||
'Toggle the background shell process list with Ctrl+L',
|
||||
// Keyboard shortcut tips end here
|
||||
// Command tips start here
|
||||
'Show version info with /about…',
|
||||
'Change your authentication method with /auth…',
|
||||
'File a bug report directly with /bug…',
|
||||
'List your saved chat checkpoints with /resume list…',
|
||||
'Save your current conversation with /resume save <tag>…',
|
||||
'Resume a saved conversation with /resume resume <tag>…',
|
||||
'Delete a conversation checkpoint with /resume delete <tag>…',
|
||||
'Share your conversation to a file with /resume share <file>…',
|
||||
'Clear the screen and history with /clear…',
|
||||
'Save tokens by summarizing the context with /compress…',
|
||||
'Copy the last response to your clipboard with /copy…',
|
||||
'Open the full documentation in your browser with /docs…',
|
||||
'Add directories to your workspace with /directory add <path>…',
|
||||
'Show all directories in your workspace with /directory show…',
|
||||
'Use /dir as a shortcut for /directory…',
|
||||
'Set your preferred external editor with /editor…',
|
||||
'List all active extensions with /extensions list…',
|
||||
'Update all or specific extensions with /extensions update…',
|
||||
'Get help on commands with /help…',
|
||||
'Manage IDE integration with /ide…',
|
||||
'Create a project-specific GEMINI.md file with /init…',
|
||||
'List configured MCP servers and tools with /mcp list…',
|
||||
'Authenticate with an OAuth-enabled MCP server with /mcp auth…',
|
||||
'Reload MCP servers with /mcp reload…',
|
||||
'See the current instructional context with /memory show…',
|
||||
'Add content to the instructional memory with /memory add…',
|
||||
'Reload instructional context from GEMINI.md files with /memory reload…',
|
||||
'List the paths of the GEMINI.md files in use with /memory list…',
|
||||
'Choose your Gemini model with /model…',
|
||||
'Display the privacy notice with /privacy…',
|
||||
'Restore project files to a previous state with /restore…',
|
||||
'Exit the CLI with /quit or /exit…',
|
||||
'Check model-specific usage stats with /stats model…',
|
||||
'Check tool-specific usage stats with /stats tools…',
|
||||
"Change the CLI's color theme with /theme…",
|
||||
'List all available tools with /tools…',
|
||||
'View and edit settings with the /settings editor…',
|
||||
'Toggle Vim keybindings on and off with /vim…',
|
||||
'Set up GitHub Actions with /setup-github…',
|
||||
'Configure terminal keybindings for multiline input with /terminal-setup…',
|
||||
'Find relevant documentation with /find-docs…',
|
||||
'Execute any shell command with !<command>…',
|
||||
'Show version info with /about',
|
||||
'Change your authentication method with /auth',
|
||||
'File a bug report directly with /bug',
|
||||
'List your saved chat checkpoints with /resume list',
|
||||
'Save your current conversation with /resume save <tag>',
|
||||
'Resume a saved conversation with /resume resume <tag>',
|
||||
'Delete a conversation checkpoint with /resume delete <tag>',
|
||||
'Share your conversation to a file with /resume share <file>',
|
||||
'Clear the screen and history with /clear',
|
||||
'Save tokens by summarizing the context with /compress',
|
||||
'Copy the last response to your clipboard with /copy',
|
||||
'Open the full documentation in your browser with /docs',
|
||||
'Add directories to your workspace with /directory add <path>',
|
||||
'Show all directories in your workspace with /directory show',
|
||||
'Use /dir as a shortcut for /directory',
|
||||
'Set your preferred external editor with /editor',
|
||||
'List all active extensions with /extensions list',
|
||||
'Update all or specific extensions with /extensions update',
|
||||
'Get help on commands with /help',
|
||||
'Manage IDE integration with /ide',
|
||||
'Create a project-specific GEMINI.md file with /init',
|
||||
'List configured MCP servers and tools with /mcp list',
|
||||
'Authenticate with an OAuth-enabled MCP server with /mcp auth',
|
||||
'Reload MCP servers with /mcp reload',
|
||||
'See the current instructional context with /memory show',
|
||||
'Add content to the instructional memory with /memory add',
|
||||
'Reload instructional context from GEMINI.md files with /memory reload',
|
||||
'List the paths of the GEMINI.md files in use with /memory list',
|
||||
'Choose your Gemini model with /model',
|
||||
'Display the privacy notice with /privacy',
|
||||
'Restore project files to a previous state with /restore',
|
||||
'Exit the CLI with /quit or /exit',
|
||||
'Check model-specific usage stats with /stats model',
|
||||
'Check tool-specific usage stats with /stats tools',
|
||||
"Change the CLI's color theme with /theme",
|
||||
'List all available tools with /tools',
|
||||
'View and edit settings with the /settings editor',
|
||||
'Toggle Vim keybindings on and off with /vim',
|
||||
'Set up GitHub Actions with /setup-github',
|
||||
'Configure terminal keybindings for multiline input with /terminal-setup',
|
||||
'Find relevant documentation with /find-docs',
|
||||
'Execute any shell command with !<command>',
|
||||
// Command tips end here
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user