{"id":17720658,"url":"https://github.com/freed-wu/wgetpaste.vim","last_synced_at":"2025-03-31T13:26:02.466Z","repository":{"id":135882539,"uuid":"305696873","full_name":"Freed-Wu/wgetpaste.vim","owner":"Freed-Wu","description":"A vim wrapper of [zlin/wgetpaste] focusing on making pastebin service (bpaste, codepad, dpaste, gist) more convenient.","archived":false,"fork":false,"pushed_at":"2020-10-20T12:14:57.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-14T00:33:52.201Z","etag":null,"topics":["vim","vim-plugin","wgetpaste"],"latest_commit_sha":null,"homepage":"","language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Freed-Wu.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-20T12:14:21.000Z","updated_at":"2023-10-22T10:55:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"bf3f3d5c-9c5b-49fb-820d-d98c0f4640d3","html_url":"https://github.com/Freed-Wu/wgetpaste.vim","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/Freed-Wu%2Fwgetpaste.vim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freed-Wu%2Fwgetpaste.vim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freed-Wu%2Fwgetpaste.vim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freed-Wu%2Fwgetpaste.vim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Freed-Wu","download_url":"https://codeload.github.com/Freed-Wu/wgetpaste.vim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246473273,"owners_count":20783236,"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","wgetpaste"],"created_at":"2024-10-25T15:28:39.362Z","updated_at":"2025-03-31T13:26:02.441Z","avatar_url":"https://github.com/Freed-Wu.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"wgetpaste.vim\n=============\n\nA vim wrapper of [zlin/wgetpaste] focusing on making pastebin service\n(bpaste, codepad, dpaste, gist) more convenient. [中文]\n\nFeature\n-------\n\nSelect appropriate language type and service automatically according vim\nsyntax and language types each service supporting.\n(e.g. If you want to paste a python file to pastebin, you only `Wgetpaste!`\nin your vim.\nNot need to type `wgetpaste -l Python -s bpaste /the/path/of/file` in your\nshell.)\n\nUsage\n-----\n\n```{.vim}\n[range]Wgetpaste[!]\n```\n\nDependence\n----------\n\n1.  A distribution of vim. Such as [vim/vim].\n2.  [zlin/wgetpaste].\n\nAccording to \u003chttps://github.com/zlin/wgetpaste/blob/master/wgetpaste#L2-L3\u003e\nor\n\n```{.sh}\ncat `which wgetpaste`|sed -n 2,3p\n```\n\nwgetpaste is\n\u003e A Script that automates pasting to a number of pastebin services\n\u003e relying only on bash, sed, coreutils (mktemp/sort/tr/wc/whoami/tee) and wget\n\nInstall\n-------\n\n### Package manager\n\nSuch as [Shougo/dein.vim], Add the following code to your vimrc.\n\n``` {.vim}\ncall dein#add('Freed-Wu/wgetpaste.vim')\n```\n\nThen type the code in the command line of vim:\n\n``` {.vim}\ncall dein#install()\n```\n\nOr the following, need [wsdjeg/dein-ui.vim].\n\n``` {.vim}\nSPInstall\n```\n\nOr the following, need [haya14busa/dein-command.vim].\n\n``` {.vim}\nDein install\n```\n\n### Manual\n\nDownload the package first.\n\n``` {.zsh}\ngit clone https://github.com/Freed-Wu/wgetpaste.vim /path/to/save/this/package\n```\n\nAdd the following code to your vimrc.\n\n``` {.vim}\nset runtimepath+=/path/to/save/this/package\n```\n\nCustomize\n---------\n\nSee [doc/wgetpaste.txt] or type the code in the command line of vim:\n\n``` {.vim}\nhelp wgetpaste\n```\n\nand \u003chttps://github.com/zlin/wgetpaste/blob/master/wgetpaste#L419-L433\u003e or\n\n```{.shell}\nwgetpaste --help\n```\n\nFAQ\n---\n\nSee more at [Issues].\n\nThanks\n------\n\n- [mattn/pastebin-vim] is a plugin providing support for pastebin.com.\n- [kpron/vim-dpaste] is a plugin providing support for dpaste.\n\n  [中文]: https://zhuanlan.zhihu.com/p/228462641\n  [vim/vim]: https://github.com/vim/vim\n  [zlin/wgetpaste]: https://github.com/zlin/wgetpaste\n  [Shougo/dein.vim]: https://github.com/Shougo/dein.vim\n  [wsdjeg/dein-ui.vim]: https://github.com/wsdjeg/dein-ui.vim\n  [haya14busa/dein-command.vim]: https://github.com/haya14busa/dein-command.vim\n  [doc/wgetpaste.txt]: doc/wgetpaste.txt\n  [kpron/vim-dpaste]: https://github.com/kpron/vim-dpaste\n  [mattn/pastebin-vim]: https://github.com/mattn/pastebin-vim\n  [Issues]: https://github.com/Freed-Wu/wgetpaste.vim/issues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreed-wu%2Fwgetpaste.vim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreed-wu%2Fwgetpaste.vim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreed-wu%2Fwgetpaste.vim/lists"}