{"id":13661831,"url":"https://github.com/lambdalisue/vim-gista","last_synced_at":"2025-04-25T03:31:30.251Z","repository":{"id":17888088,"uuid":"20835079","full_name":"lambdalisue/vim-gista","owner":"lambdalisue","description":"An alternative gist.vim, vim plugin which manipulate gists in Vim.","archived":true,"fork":false,"pushed_at":"2020-09-19T08:06:16.000Z","size":2237,"stargazers_count":156,"open_issues_count":6,"forks_count":5,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-11-10T16:46:31.248Z","etag":null,"topics":["gist","neovim","vim"],"latest_commit_sha":null,"homepage":"http://www.vim.org/scripts/script.php?script_id=4976","language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lambdalisue.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-14T15:33:02.000Z","updated_at":"2024-05-31T09:42:07.000Z","dependencies_parsed_at":"2022-08-24T07:20:22.120Z","dependency_job_id":null,"html_url":"https://github.com/lambdalisue/vim-gista","commit_stats":null,"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambdalisue%2Fvim-gista","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambdalisue%2Fvim-gista/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambdalisue%2Fvim-gista/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambdalisue%2Fvim-gista/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lambdalisue","download_url":"https://codeload.github.com/lambdalisue/vim-gista/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250747819,"owners_count":21480724,"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":["gist","neovim","vim"],"created_at":"2024-08-02T05:01:42.460Z","updated_at":"2025-04-25T03:31:29.529Z","avatar_url":"https://github.com/lambdalisue.png","language":"Vim script","funding_links":[],"categories":["Vim script","Vim Script"],"sub_categories":[],"readme":"vim-gista\n===============================================================================\n[![Travis CI](https://img.shields.io/travis/lambdalisue/vim-gista/master.svg?style=flat-square\u0026label=Travis%20CI)](https://travis-ci.org/lambdalisue/vim-gista)\n[![AppVeyor](https://img.shields.io/appveyor/ci/lambdalisue/vim-gista/master.svg?style=flat-square\u0026label=AppVeyor)](https://ci.appveyor.com/project/lambdalisue/vim-gista/branch/master)\n![Version 2.5.0](https://img.shields.io/badge/version-2.4.0-yellow.svg?style=flat-square)\n![Support Vim 7.4.2137 or above](https://img.shields.io/badge/support-Vim%207.4.2137%20or%20above-yellowgreen.svg?style=flat-square)\n[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](LICENSE)\n[![Doc](https://img.shields.io/badge/doc-%3Ah%20vim--gista-orange.svg?style=flat-square)](doc/vim-gista.txt)\n[![Powered by vital.vim](https://img.shields.io/badge/powered%20by-vital.vim-ff69b4.svg?style=flat-square)](https://github.com/vim-jp/vital.vim)\n\n![Screenshot](img/screenshot.png)\n\n*vim-gista* is a plugin for manipulating [Gist](https://gist.github.com/) in Vim.\nIt provide the following features:\n\n- List gists of a particular lookup\n- List commits of a gist\n- Open a gist as a JSON file\n- Open a file of a gist\n- Post a content of the current buffer\n- Patch a content of the current buffer to a gist\n- Rename files in a gist\n- Remove files in a gist\n- Delete a gist\n- Star/Unstar a gist\n- Fork a gist\n\nRequirements\n-------------------------------------------------------------------------------\nOne of the following is required for communicating with Gist API.\n\n- Vim compiled with `+python` (Recommended)\n- [cURL](http://curl.haxx.se)\n- [wget](https://www.gnu.org/software/wget)\n\nTo enable fast feching in `:Gista-list`, you need a Vim compiled with\n`+python` or `+python3`.\nNote that Vim compiled with `+python3` without cURL or wget is not supported for\nnow. The recommended environment is a Vim compiled with `+python` or a Vim\ncompiled with `+python3` with cURL or wget.\n\nInstall\n-------------------------------------------------------------------------------\nUse [dein.vim](https://github.com/Shougo/dein.vim) or [vim-plug](https://github.com/junegunn/vim-plug) as:\n\n```vim\n\" vim-plug\nPlug 'lambdalisue/vim-gista'\n\n\" dein.vim\ncall dein#add('lambdalisue/vim-gista')\n\n\" dein.vim (Lazy)\ncall dein#add('lambdalisue/vim-gista', {\n    \\ 'on_cmd': 'Gista'\n    \\})\n```\n\nOr install the repository into your `runtimepath` manually.\n\n\nUsage\n-------------------------------------------------------------------------------\n\nFirst of all, specify your GitHub username into `g:gista#client#default_username` or use `$ git config github.user {USERNAME}` to record it into your .gitconfig file then vim-gista automatically resolve your github username from your .gitconfig file.\nvim-gista support an anonymous access but authorization is strongly recommended due to the GitHub API rate-limit.\n\nAfter that, execute `:Gista list`. It will request all your gists and show `gista-list` window which looks like:\n\n```\n  ┌ API name\n  │       ┌ Lookup\n  │       │                  ┌ The current mode\n  │       │                  │\nGitHub:lambdalisue | Mode: updated_at | Press ? to toggle a ma...\n- 15/12/31(07:08:22)   [3] test.vi... gistid:bb408da1b3fb100d6c1a\n= 15/12/27(17:58:56) * [2] benchma... gistid:c84fe3e0b306a2bc8578\n│       │            │  │     │                     │\n│       │            │  │     │                     └ GistID\n│       │            │  │     └ Description\n│       │            │  └ The number of files\n│       │            └ Is starred marker (*: starred)\n│       └ A created_at/updated_at of the gist (depends on the Mode:)\n└ Fetched marker (-: Unfetched, =: fetched)\n```\n\nIn `gista-list` window, you can check the mappings by hitting `?`.\nSee `:help vim-gista-usage` for more detail.\n\n\nHarmonic plugins\n-------------------------------------------------------------------------------\nYou may want to checkout the following harmonic plugins:\n\n- [vim-gista-unite](https://github.com/lambdalisue/vim-gista-unite) : Allow users to use unite.vim interface for listing\n- [vim-gista-ctrlp](https://github.com/lambdalisue/vim-gista-ctrlp) : Allow users to use ctrlp.vim interface for listing\n\nLet me know if you make a harmonic plugin ;-)\n\nFor users who use a previous version (v0.1.18)\n-------------------------------------------------------------------------------\nMost of features, commands, or options are drastically changed from a previous version (v0.1.18).\nSee [Migration from v1 to v2](https://github.com/lambdalisue/vim-gista/wiki/Migration-from-v1-to-v2) or use [`v0.1.18`](https://github.com/lambdalisue/vim-gista/tree/v0.1.18) tag for instance.\n\nLicense\n-------------------------------------------------------------------------------\nThe MIT License (MIT)\n\nCopyright (c) 2014-2016 Alisue, hashnote.net\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\nExternal vital modules used in this plugin\n-------------------------------------------------------------------------------\nvim-gista is powered by the following external [vital](https://github.com/vim-jp/vital.vim) modules.\n\n- [lambdalisue/vital-ArgumentParser](https://github.com/lambdalisue/vital-ArgumentParser)\n- [lambdalisue/vital-Vim-Prompt](https://github.com/lambdalisue/vital-Vim-Prompt)\n- [lambdalisue/vital-Vim-Validate](https://github.com/lambdalisue/vital-Vim-Validate)\n- [lambdalisue/vital-Vim-Buffer-Anchor](https://github.com/lambdalisue/vital-Vim-Buffer-Anchor)\n- [lambdalisue/vital-Web-API-GitHub](https://github.com/lambdalisue/vital-Web-API-GitHub)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambdalisue%2Fvim-gista","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flambdalisue%2Fvim-gista","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambdalisue%2Fvim-gista/lists"}