{
    "url": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code",
    "locale": "en",
    "title": "Keyboard shortcuts in VS Code and the terminal · DeLaParra Services",
    "description": "The 30 most useful keyboard shortcuts for VS Code (Windows, Linux and macOS), terminal shortcuts and how to exit Vim.",
    "alternates": {
        "en": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code",
        "nl": "https://delaparra-services.nl/nl/handleidingen/sneltoetsen-in-vs-code"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code.csv",
        "md": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code.md",
        "json": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code.json",
        "zip": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code.zip",
        "pdf": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code.csv",
            "encodingFormat": "text/csv",
            "name": "sneltoetsen-in-vs-code.csv"
        },
        {
            "url": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code.json",
            "encodingFormat": "application/json",
            "name": "sneltoetsen-in-vs-code.json"
        },
        {
            "url": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code.md",
            "encodingFormat": "text/markdown",
            "name": "sneltoetsen-in-vs-code.md"
        },
        {
            "url": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code.pdf",
            "encodingFormat": "application/pdf",
            "name": "sneltoetsen-in-vs-code.pdf"
        },
        {
            "url": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code.zip",
            "encodingFormat": "application/zip",
            "name": "sneltoetsen-in-vs-code.zip"
        }
    ],
    "markdown": "# Keyboard shortcuts in VS Code and the terminal\n\nKeyboard shortcuts help you work faster and give you a better overview of what your AI assistant is doing. This guide accompanies *Installing Visual Studio Code*.\n\n## Start by remembering just one\n\n**Ctrl+Shift+P\n\n## Navigate\n\n| What | Windows / Linux | Mac |\n|---|---|---|\n| Open file by name | Ctrl+P | Cmd+P |\n| Go to line | Ctrl+G | Ctrl+G |\n| Go to the definition | F12 | F12 |\n| Search all files | Ctrl+Shift+F | Cmd+Shift+F |\n| Search this file | Ctrl+F | Cmd+F |\n| Sidebar on/off | Ctrl+B | Cmd+B |\n| Terminal on/off | Ctrl+` | Ctrl+` |\n\n## Edit\n\n| What | Windows / Linux | Mac |\n|---|---|---|\n| Select the next matching word as well | Ctrl+D | Cmd+D |\n| Extra cursor above/below | Ctrl+Alt+↑/↓ | Option+Cmd+↑/↓ |\n| Additional cursor where you click | Alt+click | Option+click |\n| Move line up/down | Alt+↑/↓ | Option+↑/↓ |\n| Copy line up/down | Shift+Alt+↑/↓ | Shift+Option+↑/↓ |\n| Delete line | Ctrl+Shift+K | Cmd+Shift+K |\n| Delete previous word | Ctrl+Backspace | Option+Backspace |\n| Go to the start/end of the line | Home / End | Cmd+← / → |\n| Show/hide comments | Ctrl+/ | Cmd+/ |\n| Format document neatly | Shift+Alt+F | Shift+Option+F |\n| Show suggestions | Ctrl+Space | Ctrl+Space |\n| Save all | Ctrl+K, then S | Option+Cmd+S |\n\n## Improve the code\n\n| What | Windows / Linux | Mac |\n|---|---|---|\n| Quick fixes / actions (including ‘Extract method’) | Ctrl+. | Cmd+. |\n| Change name everywhere | F2 | F2 |\n\n## Debugging\n\n| What | Test |\n|---|---|\n| Breakpoint on/off | F9 |\n| Start / Continue | F5 |\n| Skip | F10 |\n| Step in | F11 |\n| Exit | Shift+F11 |\n\n## Customising keyboard shortcuts\n\nCtrl+K, Ctrl+S (Mac: Cmd+K, Cmd+S) opens the list of all keyboard shortcuts. Find a command, double-click it and enter your own shortcut combination.\n\n## Inside the terminal\n\n| What | Test |\n|---|---|\n| Stop running command | Ctrl+C |\n| Clear screen | Ctrl+L |\n| Search previous commands | Ctrl+R |\n| Previous command | ↑ |\n\n## Stuck in Vim?\n\nSometimes Git opens an editor called **Vim**, for example when you make a commit or perform a rebase. Here’s how to close it:\n\n1. Press **Esc**.\n2. Type `:wq`**\n\nWould you like Git to use VS Code from now on?\n\n```bash\ngit config --global core.editor \"code --wait\"\n```\n\nA few Vim shortcuts you might come across: `gg` (move up), `G` (move down), `dd` (delete line), `yy` (copy line), `p` (paste), `ciw` (replace word), `u` (undo).\n\n## Tip for your AI assistant\n\nWith the **editor-shortcuts** skill, your assistant can provide you with the correct keyboard shortcut for your system, or set up a custom shortcut for you.\n\n## Skills\n\n- [Editor shortcuts (VS Code / Cursor and Vim)] (/nl/skills/editor-shortcuts)\n\n",
    "structured_data": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "TechArticle",
                "@id": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code#article",
                "url": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code",
                "headline": "Keyboard shortcuts in VS Code and the terminal",
                "description": "The 30 most useful keyboard shortcuts for VS Code (Windows, Linux and macOS), terminal shortcuts and how to exit Vim.",
                "inLanguage": "en",
                "subjectOf": {
                    "@id": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code#dataset"
                }
            },
            {
                "@type": "Dataset",
                "@id": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code#dataset",
                "name": "Keyboard shortcuts in VS Code and the terminal",
                "description": "The 30 most useful keyboard shortcuts for VS Code (Windows, Linux and macOS), terminal shortcuts and how to exit Vim.",
                "url": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code",
                "identifier": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code#article"
                },
                "publisher": {
                    "@type": "Organization",
                    "name": "DeLaParra Services",
                    "url": "https://delaparra-services.nl/"
                },
                "isAccessibleForFree": true,
                "inLanguage": "en",
                "isPartOf": {
                    "@type": "Dataset",
                    "@id": "https://delaparra-services.nl/manuals#dataset",
                    "name": "Manuals for working on your own app",
                    "url": "https://delaparra-services.nl/manuals"
                },
                "includedInDataCatalog": {
                    "@type": "DataCatalog",
                    "@id": "https://delaparra-services.nl/knowledge-hub#catalog",
                    "name": "Knowledge hub data catalog",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "distribution": [
                    {
                        "@type": "DataDownload",
                        "name": "sneltoetsen-in-vs-code.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code.csv",
                        "inLanguage": "en"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "sneltoetsen-in-vs-code.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code.json",
                        "inLanguage": "en"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "sneltoetsen-in-vs-code.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code.md",
                        "inLanguage": "en"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "sneltoetsen-in-vs-code.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code.pdf",
                        "inLanguage": "en"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "sneltoetsen-in-vs-code.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code.zip",
                        "inLanguage": "en"
                    }
                ]
            }
        ]
    }
}