{
    "url": "https://delaparra-services.nl/knowledge-hub/delete-previous-word",
    "locale": "en",
    "title": "Delete Previous Word: Knowledge hub | DeLaParra Services",
    "description": "Delete the word to the left of the cursor on the command line.",
    "alternates": {
        "en": "https://delaparra-services.nl/knowledge-hub/delete-previous-word",
        "nl": "https://delaparra-services.nl/nl/kennisbank/delete-previous-word"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/knowledge-hub/delete-previous-word.csv",
        "md": "https://delaparra-services.nl/knowledge-hub/delete-previous-word.md",
        "json": "https://delaparra-services.nl/knowledge-hub/delete-previous-word.json",
        "zip": "https://delaparra-services.nl/knowledge-hub/delete-previous-word.zip",
        "pdf": "https://delaparra-services.nl/knowledge-hub/delete-previous-word.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/knowledge-hub/delete-previous-word.csv",
            "encodingFormat": "text/csv",
            "name": "delete-previous-word.csv"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/delete-previous-word.json",
            "encodingFormat": "application/json",
            "name": "delete-previous-word.json"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/delete-previous-word.md",
            "encodingFormat": "text/markdown",
            "name": "delete-previous-word.md"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/delete-previous-word.pdf",
            "encodingFormat": "application/pdf",
            "name": "delete-previous-word.pdf"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/delete-previous-word.zip",
            "encodingFormat": "application/zip",
            "name": "delete-previous-word.zip"
        }
    ],
    "markdown": "1. [Home](<https://delaparra-services.nl/>) \n1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) \n1. [Delete Previous Word](<https://delaparra-services.nl/knowledge-hub/delete-previous-word>)\n\n  \n\nCategory: Keyboard shortcuts \n\n# Delete Previous Word\n\n  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    \n\n## What is Delete Previous Word?\n\n \n\nDelete Previous Word: Delete the word to the left of the cursor on the command line. In most terminals, ` Ctrl+W ` deletes the word to the left of the cursor. ` Alt+Backspace ` often does the same with slightly different rules for punctuation. In editors, ` Ctrl+Backspace ` or ` Option+Backspace ` deletes the previous word. It is much faster than holding Backspace when you mistype a long argument or want to change the last part of a command.\n\n \n\nDefinition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)\n\n \n\n## Frequently asked questions about Delete Previous Word\n\n  \n\n### What should you keep in mind with Delete Previous Word?\n\n \n\nA few related shell shortcuts are worth knowing too. ` Ctrl+U ` clears everything before the cursor, ` Ctrl+K ` everything after it, ` Ctrl+A ` jumps to the start of the line and ` Ctrl+E ` to the end. Together they make editing long commands, such as Docker or kubectl calls with many options, much less frustrating. Note that ` Ctrl+W ` closes the tab in many browser-based terminals.\n\n \n\n## At a glance\n\n   CategoryKeyboard shortcuts Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026\n\n \n\n## More Keyboard shortcuts terms\n\n \n\n- [Copy Line Up / Down](<https://delaparra-services.nl/knowledge-hub/copy-line-up-down>) \n- [dd (delete line)](<https://delaparra-services.nl/knowledge-hub/dd-delete-line>) \n- [Delete Line](<https://delaparra-services.nl/knowledge-hub/delete-line>) \n- [Extract Method / Variable](<https://delaparra-services.nl/knowledge-hub/extract-method-variable>) \n- [Format Document](<https://delaparra-services.nl/knowledge-hub/format-document>) \n- [gg / G (top / bottom)](<https://delaparra-services.nl/knowledge-hub/gg-g-top-bottom>)\n\n \n\n[All terms starting with D](<https://delaparra-services.nl/knowledge-hub#letter-d>)\n\n \n\n## Skills\n\n \n\n- ### Editor shortcuts (VS Code / Cursor and Vim)\n\n \n\nUse when a user asks how to do something faster in VS Code (or Cursor) or Vim, asks what a keyboard shortcut does (e.g. Ctrl+D, Ctrl+Shift+P, F12, gg, dd, yy, ciw, :wq), wants to customise keybindings, or is stuck in Vim. Gives the correct shortcut for their operating system and can write keybindings.json entries.\n\n [View skill](<https://delaparra-services.nl/skills/editor-shortcuts>) [Download zip](<https://delaparra-services.nl/skills/editor-shortcuts/download>)\n\n \n\n## Manuals\n\n \n\n- [Keyboard shortcuts in VS Code and the terminal](<https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code>) \n- [Installing Visual Studio Code](<https://delaparra-services.nl/manuals/visual-studio-code-installeren>)\n\n \n\n## Need any help?\n\n \n\nStuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.\n\n  [Get in touch](<https://delaparra-services.nl/availability>)\n\n[HTML version](https://delaparra-services.nl/knowledge-hub/delete-previous-word)\n",
    "structured_data": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://delaparra-services.nl/#practice",
                "logo": "https://delaparra-services.nl/logo.png",
                "name": "DeLaParra Services",
                "legalName": "DeLaParra Services",
                "url": "https://delaparra-services.nl/",
                "description": "Bespoke software, web applications and mobile apps, developed in Laravel by a single developer in Groningen. Fixed price agreed in advance, full source code provided upon delivery.",
                "email": "info@delaparra-services.nl",
                "address": {
                    "@type": "PostalAddress",
                    "addressLocality": "Groningen",
                    "addressRegion": "Groningen",
                    "addressCountry": "NL"
                },
                "areaServed": "Groningen, the Netherlands",
                "knowsLanguage": [
                    "en",
                    "nl"
                ],
                "knowsAbout": [
                    "Web design and development",
                    "App development",
                    "Custom software and web applications",
                    "OpenSpec",
                    "AI code review",
                    "Your own coding agent"
                ],
                "founder": {
                    "@id": "https://delaparra-services.nl/#person"
                }
            },
            {
                "@type": "FAQPage",
                "@id": "https://delaparra-services.nl/knowledge-hub/delete-previous-word#webpage",
                "url": "https://delaparra-services.nl/knowledge-hub/delete-previous-word",
                "name": "Delete Previous Word: Knowledge hub | DeLaParra Services",
                "description": "Delete the word to the left of the cursor on the command line.",
                "isPartOf": {
                    "@id": "https://delaparra-services.nl/#website"
                },
                "about": {
                    "@type": "DefinedTerm",
                    "@id": "https://delaparra-services.nl/knowledge-hub/delete-previous-word#term",
                    "name": "Delete Previous Word",
                    "description": "Delete the word to the left of the cursor on the command line.",
                    "termCode": "delete-previous-word",
                    "url": "https://delaparra-services.nl/knowledge-hub/delete-previous-word",
                    "inLanguage": "en",
                    "keywords": "Keyboard shortcuts",
                    "dateModified": "2026-11-25T17:46:26+00:00",
                    "inDefinedTermSet": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#terms"
                    },
                    "isPartOf": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#dataset"
                    },
                    "subjectOf": [
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/delete-previous-word#webpage"
                        },
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/delete-previous-word#dataset"
                        }
                    ]
                },
                "inLanguage": "en",
                "breadcrumb": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/delete-previous-word#breadcrumb"
                },
                "mainEntity": [
                    {
                        "@type": "Question",
                        "name": "What is Delete Previous Word?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "Delete the word to the left of the cursor on the command line. In most terminals, Ctrl+W deletes the word to the left of the cursor. Alt+Backspace often does the same with slightly different rules for punctuation. In editors, Ctrl+Backspace or Option+Backspace deletes the previous word. It is much faster than holding Backspace when you mistype a long argument or want to change the last part of a command."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What should you keep in mind with Delete Previous Word?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "A few related shell shortcuts are worth knowing too. Ctrl+U clears everything before the cursor, Ctrl+K everything after it, Ctrl+A jumps to the start of the line and Ctrl+E to the end. Together they make editing long commands, such as Docker or kubectl calls with many options, much less frustrating. Note that Ctrl+W closes the tab in many browser-based terminals."
                        }
                    }
                ],
                "author": {
                    "@id": "https://delaparra-services.nl/#person"
                },
                "mentions": [
                    {
                        "@id": "https://delaparra-services.nl/skills/editor-shortcuts#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code#article"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/visual-studio-code-installeren#article"
                    }
                ]
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://delaparra-services.nl/knowledge-hub/delete-previous-word#breadcrumb",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "Home",
                        "item": "https://delaparra-services.nl/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Knowledge hub",
                        "item": "https://delaparra-services.nl/knowledge-hub"
                    },
                    {
                        "@type": "ListItem",
                        "position": 3,
                        "name": "Delete Previous Word"
                    }
                ]
            },
            {
                "@type": "Person",
                "@id": "https://delaparra-services.nl/#person",
                "name": "Reinier de la Parra",
                "url": "https://delaparra-services.nl/about"
            },
            {
                "@type": "Dataset",
                "@id": "https://delaparra-services.nl/knowledge-hub/delete-previous-word#dataset",
                "name": "Delete Previous Word",
                "description": "Delete the word to the left of the cursor on the command line.",
                "url": "https://delaparra-services.nl/knowledge-hub/delete-previous-word",
                "identifier": "https://delaparra-services.nl/knowledge-hub/delete-previous-word#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/delete-previous-word#term"
                },
                "creator": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "publisher": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "license": "https://creativecommons.org/licenses/by/4.0/",
                "creditText": "Coders Lingo (https://coderslingo.com/resources/open-dataset/), CC BY 4.0",
                "isAccessibleForFree": true,
                "inLanguage": "en",
                "keywords": "Keyboard shortcuts",
                "version": "2026-11-25",
                "dateModified": "2026-11-25T17:46:26+00:00",
                "isPartOf": {
                    "@type": "Dataset",
                    "@id": "https://delaparra-services.nl/knowledge-hub#dataset",
                    "name": "IT terms from A to Z",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "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": "delete-previous-word.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/delete-previous-word.csv",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:26+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "delete-previous-word.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/delete-previous-word.json",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:26+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "delete-previous-word.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/delete-previous-word.md",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:26+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "delete-previous-word.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/delete-previous-word.pdf",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:26+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "delete-previous-word.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/delete-previous-word.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:26+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    }
                ]
            }
        ]
    }
}