{"id":19309618,"url":"https://github.com/roxma/vim-encode","last_synced_at":"2025-11-15T09:25:07.852Z","repository":{"id":82181218,"uuid":"65699997","full_name":"roxma/vim-encode","owner":"roxma","description":"Provides simple stirng encode/escape functionality inside vim","archived":false,"fork":false,"pushed_at":"2017-02-12T01:20:49.000Z","size":8,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-06T01:43:53.233Z","etag":null,"topics":[],"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/roxma.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-15T02:57:21.000Z","updated_at":"2018-01-26T02:16:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd5834e1-7daf-4838-8140-a521884b04b9","html_url":"https://github.com/roxma/vim-encode","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/roxma%2Fvim-encode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roxma%2Fvim-encode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roxma%2Fvim-encode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roxma%2Fvim-encode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roxma","download_url":"https://codeload.github.com/roxma/vim-encode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240410395,"owners_count":19796885,"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":[],"created_at":"2024-11-10T00:19:58.178Z","updated_at":"2025-11-15T09:25:02.829Z","avatar_url":"https://github.com/roxma.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vim-encode\n\n## Description\n\nVim-encode provides simple stirng encode/escape functionality inside vim. It\nhelps make your life easier when you need to copy some text as string into your\ncode.\n\nsupported encode/escape type:\n\n- html\n- xml\n- url\n- hex\n- cstring\n- cstring_pretty\n\n## Usage\n\npress `\u003cLeader\u003ee` the way you use vim's standard operators like `d`(delete)\n\nScreencast here:\n\n[![asciicast](https://asciinema.org/a/ew105rtskuxg65a1f442stegg.png)](https://asciinema.org/a/ew105rtskuxg65a1f442stegg)\n\n\n## Key Mapping\n\nIf you don't want default mapping, add `let g:vim_encode_default_mapping=0`\ninto your vimrc. Use `\u003cPlug\u003e(encode)` for your own mapping.\n\nIf you want shorter keys for more specific encoding, html encode for example:\n\n```vim\nnnoremap \u003cexpr\u003e \u003cyour_keys\u003e encode#begin('html')\nvnoremap \u003cexpr\u003e \u003cyour_keys\u003e encode#begin('html')\n```\n\n\n## How to Unencode?\n\nWell, this feature is not yet implemented.\n\nThis plugin is for encoding pasted text for you code. You should keep the\noriginal text as comment for readability or somewhere else anyway.\n\n\n## How to add my own encode type?\n\nCall `encode#add(type,handler)`, the hander here is a function that takes raw\nstring as parameter and return the encoded string.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froxma%2Fvim-encode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froxma%2Fvim-encode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froxma%2Fvim-encode/lists"}