{"id":13479570,"url":"https://github.com/chaoren/vim-wordmotion","last_synced_at":"2025-04-04T14:09:39.686Z","repository":{"id":40313585,"uuid":"48660006","full_name":"chaoren/vim-wordmotion","owner":"chaoren","description":"More useful word motions for Vim","archived":false,"fork":false,"pushed_at":"2023-02-26T21:15:32.000Z","size":112,"stargazers_count":842,"open_issues_count":6,"forks_count":15,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-10-13T14:16:38.878Z","etag":null,"topics":["camel-case","text-objects","vim"],"latest_commit_sha":null,"homepage":"","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chaoren.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-12-27T20:50:21.000Z","updated_at":"2024-10-12T05:27:10.000Z","dependencies_parsed_at":"2024-01-14T15:26:21.055Z","dependency_job_id":"81a9592b-babe-450a-949b-a76240d05314","html_url":"https://github.com/chaoren/vim-wordmotion","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaoren%2Fvim-wordmotion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaoren%2Fvim-wordmotion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaoren%2Fvim-wordmotion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaoren%2Fvim-wordmotion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chaoren","download_url":"https://codeload.github.com/chaoren/vim-wordmotion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247190254,"owners_count":20898702,"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":["camel-case","text-objects","vim"],"created_at":"2024-07-31T16:02:19.374Z","updated_at":"2025-04-04T14:09:39.661Z","avatar_url":"https://github.com/chaoren.png","language":"Vim Script","readme":"# More useful word motions for Vim\n\nThis is one word under Vim's definition:\n\n```\nCamelCaseACRONYMWords_underscore1234\nw---------------------------------\u003ew\ne---------------------------------\u003ee\nb\u003c---------------------------------b\n```\n\nWith this plugin, this becomes six words:\n\n```\nCamelCaseACRONYMWords_underscore1234\nw---\u003ew--\u003ew-----\u003ew----\u003ew--------\u003ew-\u003ew\ne--\u003ee--\u003ee-----\u003ee---\u003ee---------\u003ee--\u003ee\nb\u003c---b\u003c--b\u003c-----b\u003c----b\u003c--------b\u003c-b\n```\n\n## `word` definitions\n\nA `word` (lowercase) is any of the following:\n\n| `word`           | Example               |\n| :--------------- | :-------------------- |\n| Camel case words | `[Camel][Case]`       |\n| Acronyms         | `[HTML]And[CSS]`      |\n| Uppercase words  | `[UPPERCASE] [WORDS]` |\n| Lowercase words  | `[lowercase] [words]` |\n| Hex color codes  | `[#0f0f0f]`           |\n| Hex literals     | `[0x00ffFF] [0x0f]`   |\n| Octal literals   | `[0o644] [0o0755]`    |\n| Binary literals  | `[0b01] [0b0011]`     |\n| Regular numbers  | `[1234] [5678]`       |\n| Other characters | `[~!@#$]`             |\n\nA `WORD` (uppercase) is any sequence of non-space characters separated by\nspaces.\n\n## Customization\n\nDefault `word`/`WORD` mappings:\n\n| Mode  |          Mapping          |\n| :---: | :-----------------------: |\n| `nxo` |          `w`/`W`          |\n| `nxo` |          `b`/`B`          |\n| `nxo` |          `e`/`E`          |\n| `nxo` |         `ge`/`gE`         |\n| `xo`  |         `aw`/`aW`         |\n| `xo`  |         `iw`/`iW`         |\n|  `c`  | `\u003cC-R\u003e\u003cC-W\u003e`/`\u003cC-R\u003e\u003cC-A\u003e` |\n\nYou do **NOT** need any of the mapping customizations below if the default\nmappings already work for you.\n\n### `g:wordmotion_prefix`\n\nUse `g:wordmotion_prefix` to apply a common prefix to each of the default word\nmotion mappings.\n\n### `g:wordmotion_mappings`\n\nUse `g:wordmotion_mappings` to individually replace the default word motion\nmappings. `g:wordmotion_mappings` is a dictionary where the keys are the default\nmappings and the values are the mappings that you want to replace them with.\nUnspecified entries will still use the default mappings. Entries set to an empty\nstring will be disabled.\n\n### `g:wordmotion_nomap`\n\nUse `g:wordmotion_nomap` to disable all of the default mappings. You can create\nyour own mappings to the `\u003cPlug\u003eWordMotion_` internal mappings. Since there are\nmultiple modes involved for many of the mappings, it's probably more convenient\nto use `g:wordmotion_prefix` or `g:wordmotion_mappings`.\n\n### `g:wordmotion_spaces`\n\nUse `g:wordmotion_spaces` to designate extra space characters.\n`g:wordmotion_spaces` is a list where each item is a regular expression for\na character that you want to treat as a space. You have to make sure the regex\nmatches a single character. You can use lookaheads and lookbehinds for\ncontext-sensitive space characters.\n\nBy default, these are treated as spaces in addition to the actual space\ncharacters:\n1. hyphens (`-`) between between alphabetic characters\n2. underscores (`_`) between alphanumeric characters\n\n### `g:wordmotion_uppercase_spaces`\n\nUse `g:wordmotion_uppercase_spaces` to designate extra space characters for\nuppercase motions. These are separate from `g:wordmotion_spaces`. There are\nno extra space characters for uppercase motions by default.\n","funding_links":[],"categories":["Vim Script","Vim script"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaoren%2Fvim-wordmotion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaoren%2Fvim-wordmotion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaoren%2Fvim-wordmotion/lists"}