[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-572190-105":53,"doc-detail-572190-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","code-cheatsheet-essential-commands-keyboard-shortcuts-setup-tips","Code Cheatsheet - Essential Commands - Keyboard Shortcuts - Setup Tips","","Comprehensive code-focused cheat sheet covering keyboard shortcuts, Claude Code slash commands, essential setup and configuration steps, key file locations, common Git worktree workflows, popular MCP server installation, and automation hooks. Includes example commands for installing and updating Claude Code globally, switching models and themes, viewing and editing configuration, adding agents, and managing sessions via hook events such as PreToolUse and PostToolUse. Designed for quick reference while working in Claude Code.",{"@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/code-cheatsheet-essential-commands-keyboard-shortcuts-setup-tips/572190/",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/code-cheatsheet-essential-commands-keyboard-shortcuts-setup-tips/572190.png","ImageObject",442,249,{"name":88,"@type":89},"Mia  ","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",6,{"@type":103,"mainEntity":104},"FAQPage",[105,111,115],{"name":106,"@type":107,"acceptedAnswer":108},"What are the key keyboard shortcuts provided in the cheatsheet?","Question",{"text":109,"@type":110},"It lists shortcuts for mentioning files/folders, inserting line breaks with backslash+Enter, interrupting Claude with Esc, navigating history with Ctrl+R, and paste actions with Ctrl+V.","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"How do I set up and update Claude Code globally?",{"text":114,"@type":110},"Use npm install -g for installing Claude Code, then run claude update to update to the latest version.",{"name":116,"@type":107,"acceptedAnswer":117},"Where are Claude Code configuration files and project settings located?",{"text":118,"@type":110},"User global settings are under ~/.claude/settings.json, project settings under .claude/settings.json, and custom slash commands under .claude/commands/.","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},572190,1792242510,{"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":9,"language":136,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":137,"faqs":138,"seo_title":139,"seo_description":61,"update_tm":140,"read_time":4},687207024478,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","⌨ KEYBOARD SHORTCUTS  \n!  \nBash  \nmode  \nprefix  \n\n| \u003Cbr>@ | Mention files/folders |\n| --- | --- |\n| \u003Cbr>\\ | Line break (backslash + Enter) |\n| \u003Cbr>Esc | Interrupt Claude |\n\nCtrl+R  \nFull  \noutput/context  \nCtrl+V  \nPaste  \nimage  \nEsc+Esc  \nHistory  \nnavigation  \nShift+Tab  \nAuto-accept (\"yolo mode\")  \nShift+Tab+Tab  \nPlan  \nmode  \nCmd+Esc  \nQuick launch in IDEs  \nCmd+Opt+K  \nInsert  \nfile  \nreferences  \n􀃖 ESSENTIAL COMMANDS  \nnpm install-g @anthropic-ai/claude-code  \nInstall Claude Code globally  \nclaude update  \nUpdate to latest version  \nclaude config set model claude-opus-4-1-20250805  \nSet Opus 4.1 as default model  \nclaude config set-g theme dark  \nEnable dark theme globally  \n\n| ⚡ SLASH COMMANDS |  |\n| --- | --- |\n| /clear-Clear history | /init-Initialize project |\n| /model-Change AI model | /config-View/modify config |\n| /cost-Token usage stats | /doctor-Health check |\n| /agents-Manage subagents | /mcp-MCP servers |\n| /memory-Edit [CLAUDE.md](CLAUDE.md) | /permissions-Security |\n| /review-Code review | /vim-Vim mode |\n|  |  |\n| 􀀠 KEY FILE LOCATIONS |  |\n| ~/.claude/settings.json\u003Cbr>User global settings |  |\n| .claude/settings.json\u003Cbr>Project settings |  |\n| .claude/commands/\u003Cbr>Custom slash commands |  |\n\n.claude/agents/  \nProject subagents  \n⚙ CONFIGURATION  \nclaude config list  \nView all settings  \nclaude config set \u003Ckey> \u003Cvalue>  \nChange setting value  \nclaude config add \u003Ckey> \u003Cvalue>  \nAdd to array settings  \n􀂨 GIT WORKTREES  \ngit worktree add . ./app-feature-b feature main  \nCreate new worktree with branch  \ngit worktree list  \nList all worktrees  \ngit worktree remove \u003Cpath>  \nRemove worktree  \n􀁪 POPULAR MCP SERVERS  \n\n| claude mcp add playwright npx @playwright/mcp@latest\u003Cbr>Browser automation |  |  |  |\n| --- | --- | --- | --- |\n|  |  |  |  |\n| claude mcp add--transport\u003Cbr>Documentation access | [http](http) | context7 | [https://mcp.context7.com/mcp](https://mcp.context7.com/mcp) |\n|  |  |  |  |\n| 􀁽 HOOKS & AUTOMATION |  |  |  |\n|  |  |  |  |\n| Hook Events: |  |  |  |\n| PreToolUse | PostToolUse |  |  |\n| UserPromptSubmit | Stop |  |  |\n| SessionStart | SessionEnd |  |  |\n\nSettings Location:  \n~/.claude/settings.json or .claude/settings.json  \n􀂼 AI MODELS  \nOpus 4.1  \nclaude-opus-4-1-20250805 Most capable  \nSonnet 4  \nclaude-sonnet-4-20250514 Balanced performance  \nHaiku 3.5  \nclaude-3-5-haiku-20241022 Fastest responses  \nGet the full interactive cheatsheet at  [awesomeclaude.ai/code-cheatsheet](awesomeclaude.ai/code-cheatsheet)   \nClaude Code is developed by Anthropic • This cheatsheet is maintained by awesomeclaude .ai","cbCaijK9i6VQz23Y","https://ap.wps.com/l/cbCaijK9i6VQz23Y","pdf",167439,"English","# Keyboard Shortcuts\n# Essential Commands\n# Slash Commands\n# Key File Locations\n# Configuration\n# Git Worktrees\n# Popular MCP Servers\n# Hooks & Automation\n# AI Models","[{\"question\":\"What are the key keyboard shortcuts provided in the cheatsheet?\",\"answer\":\"It lists shortcuts for mentioning files/folders, inserting line breaks with backslash+Enter, interrupting Claude with Esc, navigating history with Ctrl+R, and paste actions with Ctrl+V.\"},{\"question\":\"How do I set up and update Claude Code globally?\",\"answer\":\"Use npm install -g for installing Claude Code, then run claude update to update to the latest version.\"},{\"question\":\"Where are Claude Code configuration files and project settings located?\",\"answer\":\"User global settings are under ~/.claude/settings.json, project settings under .claude/settings.json, and custom slash commands under .claude/commands/.\"}]","Code Cheatsheet - Essential Commands - Keyboard Shortcuts - Setup Tips | PDF",1791926031]