{"id":13479866,"url":"https://github.com/matze/vim-move","last_synced_at":"2025-04-08T14:06:02.203Z","repository":{"id":9982041,"uuid":"12010426","full_name":"matze/vim-move","owner":"matze","description":"Plugin to move lines and selections up and down","archived":false,"fork":false,"pushed_at":"2023-10-08T14:03:13.000Z","size":86,"stargazers_count":1229,"open_issues_count":8,"forks_count":58,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-01T12:05:57.581Z","etag":null,"topics":["vim","vim-plugin"],"latest_commit_sha":null,"homepage":"http://www.vim.org/scripts/script.php?script_id=4687","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"BrentOzarULTD/SQL-Server-First-Responder-Kit","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matze.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2013-08-09T20:57:40.000Z","updated_at":"2025-03-15T09:12:39.000Z","dependencies_parsed_at":"2022-07-07T23:09:26.837Z","dependency_job_id":null,"html_url":"https://github.com/matze/vim-move","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matze%2Fvim-move","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matze%2Fvim-move/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matze%2Fvim-move/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matze%2Fvim-move/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matze","download_url":"https://codeload.github.com/matze/vim-move/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247856541,"owners_count":21007620,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["vim","vim-plugin"],"created_at":"2024-07-31T16:02:24.271Z","updated_at":"2025-04-08T14:06:02.168Z","avatar_url":"https://github.com/matze.png","language":"Vim Script","readme":"# move\n\nIt's annoying to delete and paste parts of a text just to move it up/down or\nleft/right a bit.\nThere is the `:m[ove]` command but it is quite awkward to use by todays\nstandards. vim-move is a Vim plugin that moves lines and selections in a more\nvisual manner. Out of the box, the following keys are mapped in visual and\nnormal mode:\n\n    \u003cA-k\u003e   Move current line/selection up\n    \u003cA-j\u003e   Move current line/selection down\n    \u003cA-h\u003e   Move current character/selection left\n    \u003cA-l\u003e   Move current character/selection right\n\nThe mappings can be prefixed with a count, e.g. `5\u003cA-k\u003e` will move the selection\nup by 5 lines.\n\nFeatures:\n\n* vertical motions\n* horizontal motions\n* automatic indentation\n* undo multiple moves with single `:undo`\n\nSee this short demo for a first impression:\n\n![vim-vertical-move demo](http://i.imgur.com/RMv8KsJ.gif)\n\n![vim-horizontal-move_demo](https://i.imgur.com/zKWEecp.gif)\n\n## Installation\n\nvim-move is compatible with all major plugin managers. To install it using\nVundle, add\n\n```vim\nBundle 'matze/vim-move'\n```\n\nto your `.vimrc`.\n\nTo install it using vim-plug, add\n\n```vim\nPlug 'matze/vim-move'\n```\n\nto your `.vimrc`.\n\n\n## Customization\n\nUse `g:move_key_modifier` to set a custom modifier for key bindings in normal mode. For\nexample,\n\n```vim\nlet g:move_key_modifier = 'C'\n```\n\nwhich will create the following key bindings:\n\n    \u003cC-k\u003e   Move current line/selections up\n    \u003cC-j\u003e   Move current line/selections down\n\nUse `g:move_key_modifier_visualmode` to set a custom modifier for key bindings in visual mode. For\nexample,\n\n```vim\nlet g:move_key_modifier_visualmode = 'S'\n```\n\nwhich will create the following key bindings:\n\n    \u003cS-k\u003e   Move currently selected block up\n    \u003cS-j\u003e   Move currently selected block down\n\n\nAnd so on...\n\n\n*NOTE*\n\nBoth `g:move_key_modifier` and `g:move_key_modifier_visualmode` default to 'A'\nfor backwards compatibility with previous versions of vim-move.\n\nIf the default mappings do not work, see the `move_normal_option` option in the\nhelp doc.\n\n\n## License\n\nThis plugin is licensed under MIT license.\n","funding_links":[],"categories":["Vim Script"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatze%2Fvim-move","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatze%2Fvim-move","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatze%2Fvim-move/lists"}