{
    "url": "https://delaparra-services.nl/knowledge-hub/move-line-up-down",
    "locale": "en",
    "title": "Move Line Up / Down: Knowledge hub | DeLaParra Services",
    "description": "Move the current line (or selected block) up or down without cut-and-paste.",
    "alternates": {
        "en": "https://delaparra-services.nl/knowledge-hub/move-line-up-down",
        "nl": "https://delaparra-services.nl/nl/kennisbank/move-line-up-down"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/knowledge-hub/move-line-up-down.csv",
        "md": "https://delaparra-services.nl/knowledge-hub/move-line-up-down.md",
        "json": "https://delaparra-services.nl/knowledge-hub/move-line-up-down.json",
        "zip": "https://delaparra-services.nl/knowledge-hub/move-line-up-down.zip",
        "pdf": "https://delaparra-services.nl/knowledge-hub/move-line-up-down.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/knowledge-hub/move-line-up-down.csv",
            "encodingFormat": "text/csv",
            "name": "move-line-up-down.csv"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/move-line-up-down.json",
            "encodingFormat": "application/json",
            "name": "move-line-up-down.json"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/move-line-up-down.md",
            "encodingFormat": "text/markdown",
            "name": "move-line-up-down.md"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/move-line-up-down.pdf",
            "encodingFormat": "application/pdf",
            "name": "move-line-up-down.pdf"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/move-line-up-down.zip",
            "encodingFormat": "application/zip",
            "name": "move-line-up-down.zip"
        }
    ],
    "markdown": "1. [Home](<https://delaparra-services.nl/>) \n1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) \n1. [Move Line Up / Down](<https://delaparra-services.nl/knowledge-hub/move-line-up-down>)\n\n  \n\nCategory: Keyboard shortcuts \n\n# Move Line Up / Down\n\n  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    \n\n## What is Move Line Up / Down?\n\n \n\nMove Line Up / Down: Move the current line (or selected block) up or down without cut-and-paste. Move line up or down shifts the current line, or a selected block, one line at a time without cutting and pasting. In VS Code it is ` Alt+Up/Down ` or ` Option+Up/Down `. JetBrains IDEs use ` Alt+Shift+Up/Down ` or ` Option+Shift+Up/Down `. It is handy for reordering statements, list items, CSS rules or array entries. Your clipboard stays untouched, and the editor keeps indentation correct as the line moves.\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 Move Line Up / Down\n\n  \n\n### What should you keep in mind with Move Line Up / Down?\n\n \n\nJetBrains also offers \"move statement\", ` Ctrl+Shift+Up/Down `, which moves a whole method or block as a unit and respects the code structure. Combined with duplicate line and delete line, these shortcuts handle most of the small edits you make all day without reaching for the mouse.\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- [gg / G (top / bottom)](<https://delaparra-services.nl/knowledge-hub/gg-g-top-bottom>) \n- [Go to Definition](<https://delaparra-services.nl/knowledge-hub/go-to-definition>) \n- [Go to Line](<https://delaparra-services.nl/knowledge-hub/go-to-line>) \n- [Move to Line Start / End](<https://delaparra-services.nl/knowledge-hub/move-to-line-start-end>) \n- [Open Keyboard Shortcuts](<https://delaparra-services.nl/knowledge-hub/open-keyboard-shortcuts>) \n- [p (paste)](<https://delaparra-services.nl/knowledge-hub/p-paste>)\n\n \n\n[All terms starting with M](<https://delaparra-services.nl/knowledge-hub#letter-m>)\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/move-line-up-down)\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/move-line-up-down#webpage",
                "url": "https://delaparra-services.nl/knowledge-hub/move-line-up-down",
                "name": "Move Line Up / Down: Knowledge hub | DeLaParra Services",
                "description": "Move the current line (or selected block) up or down without cut-and-paste.",
                "isPartOf": {
                    "@id": "https://delaparra-services.nl/#website"
                },
                "about": {
                    "@type": "DefinedTerm",
                    "@id": "https://delaparra-services.nl/knowledge-hub/move-line-up-down#term",
                    "name": "Move Line Up / Down",
                    "description": "Move the current line (or selected block) up or down without cut-and-paste.",
                    "termCode": "move-line-up-down",
                    "url": "https://delaparra-services.nl/knowledge-hub/move-line-up-down",
                    "inLanguage": "en",
                    "keywords": "Keyboard shortcuts",
                    "dateModified": "2026-11-25T17:46:28+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/move-line-up-down#webpage"
                        },
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/move-line-up-down#dataset"
                        }
                    ]
                },
                "inLanguage": "en",
                "breadcrumb": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/move-line-up-down#breadcrumb"
                },
                "mainEntity": [
                    {
                        "@type": "Question",
                        "name": "What is Move Line Up / Down?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "Move the current line (or selected block) up or down without cut-and-paste. Move line up or down shifts the current line, or a selected block, one line at a time without cutting and pasting. In VS Code it is Alt+Up/Down or Option+Up/Down. JetBrains IDEs use Alt+Shift+Up/Down or Option+Shift+Up/Down. It is handy for reordering statements, list items, CSS rules or array entries. Your clipboard stays untouched, and the editor keeps indentation correct as the line moves."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What should you keep in mind with Move Line Up / Down?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "JetBrains also offers \"move statement\", Ctrl+Shift+Up/Down, which moves a whole method or block as a unit and respects the code structure. Combined with duplicate line and delete line, these shortcuts handle most of the small edits you make all day without reaching for the mouse."
                        }
                    }
                ],
                "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/move-line-up-down#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": "Move Line Up / Down"
                    }
                ]
            },
            {
                "@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/move-line-up-down#dataset",
                "name": "Move Line Up / Down",
                "description": "Move the current line (or selected block) up or down without cut-and-paste.",
                "url": "https://delaparra-services.nl/knowledge-hub/move-line-up-down",
                "identifier": "https://delaparra-services.nl/knowledge-hub/move-line-up-down#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/move-line-up-down#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:28+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": "move-line-up-down.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/move-line-up-down.csv",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:28+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "move-line-up-down.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/move-line-up-down.json",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:28+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "move-line-up-down.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/move-line-up-down.md",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:28+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "move-line-up-down.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/move-line-up-down.pdf",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:28+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "move-line-up-down.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/move-line-up-down.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:28+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    }
                ]
            }
        ]
    }
}