[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-572194-105":53,"doc-detail-572194-en":127},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":120,"head_meta":122,"extra_data":124,"updated_unix":126},105,"en","ai-code-shortcuts","AI Code Shortcuts","","AI Code Shortcuts collects practical keyboard and slash-command shortcuts for Claude Code on macOS and Windows and for GitHub Copilot on macOS. It covers terminal navigation and screen controls, quick escape and paste behaviors, interactive REPL start/continue, cancel and exit actions, and a set of slash commands for tasks like managing memory, models, permissions, configuration, debugging help, health checks, and chat workflows. The guidance is formatted as command lists and quick reference blocks for fast execution.",{"@graph":63,"@context":119},[64,80,102],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":11,"@type":70,"position":76},"https://docshare.wps.com/template/presentations/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/ai-code-shortcuts/572194/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":95,"encodingFormat":93,"isAccessibleForFree":96,"interactionStatistic":97},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/ai-code-shortcuts/572194.png","ImageObject",442,249,{"name":88,"@type":89},"Rhys","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-21","2026-10-13",true,{"@type":98,"interactionType":99,"userInteractionCount":101},"InteractionCounter",{"@type":100},"ViewAction",7,{"@type":103,"mainEntity":104},"FAQPage",[105,111,115],{"name":106,"@type":107,"acceptedAnswer":108},"What are the main Claude Code shortcuts for running and controlling an interactive session?","Question",{"text":109,"@type":110},"The notes include starting an interactive REPL with an initial prompt, continuing the most recent conversation, canceling current input or generation, and exiting the Claude Code session.","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"How can I quickly clear the terminal or navigate command history in Claude Code?",{"text":114,"@type":110},"Use the “Clear terminal screen” control and the “Navigate command history” option, shown in the general controls section for Claude Code.",{"name":116,"@type":107,"acceptedAnswer":117},"Which GitHub Copilot shortcuts help with chat and common slash-command tasks?",{"text":118,"@type":110},"The document lists essential shortcuts for opening the Chat view, starting new chat sessions, switching to agent mode, and using slash commands such as explain, fix, setupTests, and newNotebook.","https://schema.org",{"og:url":78,"og:type":121,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":123,"canonical":78},"index,follow",{"doc_id":125,"site_id":56},572194,1792014839,{"code":4,"msg":5,"data":128},{"doc_id":125,"user_id":129,"nickname":88,"user_avatar":130,"doc_module":9,"category_id":8,"category_name":11,"doc_title":59,"doc_description":61,"doc_content":131,"file_id":132,"file_url":133,"file_type":134,"file_size":135,"view_count":101,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":136,"language":137,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":138,"faqs":139,"seo_title":140,"seo_description":61,"update_tm":141,"read_time":73},687207024643,"https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","Claude Code Shortcuts-Mac  \n| CLICommands |  |  |\n| --- | --- | --- |\n| | | Start interactive REPL\u003Cbr>Start REPL with initial prompt\u003Cbr>Continue most recent conversation |\n\n| General Controls |  |  |  |\n| --- | --- | --- | --- |\n| ^ + C Cancel current input or generation\u003Cbr>|  |  |  |\n| ^ | + | D | Exit Claude Code session |\n\nClear terminal screen  \nNavigate command history  \nESC  \n+  \nESC  \nExit  \nprevious message  \nQuick Commands  \n[Memory shortcut-add to CLAUDE.md](Memory shortcut-add to CLAUDE.md)[ ](Memory shortcut-add to CLAUDE.md)at start of line  \nSlash command at start of line  \ncompact  \nmemory  \nmodel  \npermissions  \npr_comments  \nSlashCommands  \nAdd additional working directories  \nReport bugs (sends conversation to Anthropic)  \nClear conversation history  \nCompact conversation with optional focus instructions  \nView/modify conﬁguration  \nShow token usage statistics  \nChecks the health of your Claude Code installation  \nGet usage help  \nInitialize project with [CLAUDE.md](CLAUDE.md) guide Switch Anthropic accounts  \nSign out from your Anthropic account  \nManage MCP server connections and OAuth authentication  \nEdit CLAUDE.md memory ﬁles  \nSelect or change the AI model  \nView or update permissions  \nView pull request comments  \nreview  \nstatus  \nterminal-setup  \nvim  \nRequest code review  \nView account and system statuses  \nInstall Shift+Enter key binding for newlines iTerm2 and VSCode only  \nEnter vim mode for alternating insert and command modes  \nClaude Code Shortcuts-Windows  \n| General Controls |  |  |  |\n| --- | --- | --- | --- |\n| ^ | + | C | Cancel current input or generation\u003Cbr>Exit Claude Code session Clear terminal screen Navigate command history Exit previous message |\n| ^ | + | D |  |\n| ^ | + | L |  |\n| |  |  |  |\n| ESC | + ESC |  |  |\n\n\n| Multiline Input |  |  |  |\n| --- | --- | --- | --- |\n| | + | | Quick escape\u003Cbr>Windows default\u003Cbr>Windows Terminal setup\u003Cbr>Paste mode\u003Cbr>Paste directly |\n|  | + | |  |\n| Shift | + | |  |\n| Paste |  |  |  |\n\nQuick Commands  \n[Memory shortcut-add to CLAUDE.md](Memory shortcut-add to CLAUDE.md)[ ](Memory shortcut-add to CLAUDE.md)at start of line  \nSlash command at start of line  \ncompact  \nmemory  \nmodel  \npermissions  \npr_comments  \nSlashCommands  \nAdd additional working directories  \nReport bugs (sends conversation to Anthropic)  \nClear conversation history  \nCompact conversation with optional focus instructions  \nView/modify conﬁguration  \nShow token usage statistics  \nChecks the health of your Claude Code installation  \nGet usage help  \nInitialize project with [CLAUDE.md](CLAUDE.md) guide Switch Anthropic accounts  \nSign out from your Anthropic account  \nManage MCP server connections and OAuth authentication  \nEdit CLAUDE.md memory ﬁles  \nSelect or change the AI model  \nView or update permissions  \nView pull request comments  \nreview  \nstatus  \nterminal-setup  \nvim  \nRequest code review  \nView account and system statuses  \nInstall Shift+Enter key binding for newlines Windows Terminal and VSCode only  \nEnter vim mode for alternating insert and command modes  \nGitHub Copilot Shortcuts-Mac  \nEssentialShortcuts  \n^ +  \n+  \n|  \nOpen the Chat view  \nEnter voice chat prompt in Chat view Start a new chat session in Chat view  \n+  \n+  \n|  \nSwitch to agent mode  \n| + |\u003Cbr>+ |\u003Cbr>| Start incline chat in the editor or terminal\u003Cbr>Start incline voice chat hold down\u003Cbr>Accept inline suggestion or navigate to the next edit suggestion\u003Cbr>Dismiss inline suggestion\u003Cbr>Use slash commands for common tasks or invoke a reusable chat prompt\u003Cbr>Reference common tools or chat variables to provide context within in your prompt\u003Cbr>Reference chat participants to handle domain-speciﬁc requests |\n| --- | --- |\n\nSlashCommands  \ndocs  \nexplain  \nﬁx  \nsetupTests  \nnewNotebook  \nsearch  \nGenerate code documentation comments from editor inline chat  \nExplain a code block, ﬁle, or programming concept  \nAsk Copilot to ﬁx a code block or resolve compiler or linting errors  \nGet help about using chat in","cbCaisSIhWku3ng9","https://ap.wps.com/l/cbCaisSIhWku3ng9","pdf",3617085,6,"English","# Claude Code Shortcuts - Mac\n## CLI Commands\n## General Controls\n## Quick Commands\n# Claude Code Shortcuts - Windows\n## General Controls\n## Multiline Input\n# GitHub Copilot Shortcuts - Mac\n## Essential Shortcuts\n## Slash Commands\n## Chat Variables\n## Chat Participants","[{\"question\":\"What are the main Claude Code shortcuts for running and controlling an interactive session?\",\"answer\":\"The notes include starting an interactive REPL with an initial prompt, continuing the most recent conversation, canceling current input or generation, and exiting the Claude Code session.\"},{\"question\":\"How can I quickly clear the terminal or navigate command history in Claude Code?\",\"answer\":\"Use the “Clear terminal screen” control and the “Navigate command history” option, shown in the general controls section for Claude Code.\"},{\"question\":\"Which GitHub Copilot shortcuts help with chat and common slash-command tasks?\",\"answer\":\"The document lists essential shortcuts for opening the Chat view, starting new chat sessions, switching to agent mode, and using slash commands such as explain, fix, setupTests, and newNotebook.\"}]","AI Code Shortcuts | PDF",1791926035]