{"id":16021804,"url":"https://github.com/ararslan/license-to-vim","last_synced_at":"2025-03-18T03:31:43.064Z","repository":{"id":52950834,"uuid":"54161360","full_name":"ararslan/license-to-vim","owner":"ararslan","description":"License your code from Vim like a secret agent","archived":false,"fork":false,"pushed_at":"2023-01-25T22:05:53.000Z","size":96,"stargazers_count":23,"open_issues_count":3,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-16T16:40:32.401Z","etag":null,"topics":["licenses","plugin","vim"],"latest_commit_sha":null,"homepage":"http://vimawesome.com/plugin/license-to-vim","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/ararslan.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}},"created_at":"2016-03-18T00:48:20.000Z","updated_at":"2023-09-27T09:55:01.000Z","dependencies_parsed_at":"2023-02-14T11:45:29.635Z","dependency_job_id":null,"html_url":"https://github.com/ararslan/license-to-vim","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ararslan%2Flicense-to-vim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ararslan%2Flicense-to-vim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ararslan%2Flicense-to-vim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ararslan%2Flicense-to-vim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ararslan","download_url":"https://codeload.github.com/ararslan/license-to-vim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244150775,"owners_count":20406655,"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":["licenses","plugin","vim"],"created_at":"2024-10-08T18:06:00.594Z","updated_at":"2025-03-18T03:31:42.635Z","avatar_url":"https://github.com/ararslan.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# license-to-vim\n\nThis is a simple Vim plugin that gives you the license to license your code.\nYou can insert a license right into your code without leaving Vim!\n\nThe table below lists all licenses currently available in this plugin, as well as the abbreviation used by the plugin and whether the license suggests adding a stub.\n\n| License | Abbreviation | Stub |\n|:----------------------------------------------------------------------------------|:----------:|:---:|\n| [GNU Affero General Public License 3.0](https://opensource.org/licenses/AGPL-3.0) | `agpl`     | Yes |\n| [Apache License 2.0](https://opensource.org/licenses/Apache-2.0)                  | `apache`   | Yes |\n| [Artistic License 2.0](https://opensource.org/licenses/Artistic-2.0)              | `artistic` | No  |\n| [Beerware License 42](https://people.freebsd.org/~phk/)                           | `beer`     | No  |\n| [Blue Oak Model License 1.0](https://blueoakcouncil.org/license/1.0.0)            | `blue-oak` | No  |\n| [Boost Software License 1.0](https://opensource.org/licenses/BSL-1.0)             | `boost`    | No  |\n| [BSD 2-Clause License](https://opensource.org/licenses/BSD-2-Clause)              | `bsd-2`    | No  |\n| [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)              | `bsd-3`    | No  |\n| [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0)                      | `cc0`      | Yes |\n| [Eclipse Public License 1.0](https://opensource.org/licenses/EPL-1.0)             | `epl`      | No  |\n| [European Union Public License 1.2](https://joinup.ec.europa.eu/collection/eupl/eupl-text-11-12) (EN) | `eupl` | No |\n| [Good Luck With That Public License](https://github.com/me-shaon/GLWTPL)          | `glwt`     | No  |\n| [GNU General Public License 2.0](https://opensource.org/licenses/GPL-2.0)         | `gpl-2`    | Yes |\n| [GNU General Public License 3.0](https://opensource.org/licenses/GPL-3.0)         | `gpl-3`    | Yes |\n| [ISC License](https://opensource.org/licenses/ISC)                                | `isc`      | No  |\n| [GNU Lesser General Public License 2.1](https://opensource.org/licenses/LGPL-2.1) | `lgpl-2`   | Yes |\n| [GNU Lesser General Public License 3.0](https://opensource.org/licenses/LGPL-3.0) | `lgpl-3`   | Yes |\n| [MIT License](https://opensource.org/licenses/MIT)                                | `mit`      | No  |\n| [Mozilla Public License 2.0](https://opensource.org/licenses/MPL-2.0)             | `mpl`      | No  |\n| [Microsoft Public License](https://opensource.org/licenses/MS-PL)                 | `ms-pl`    | No  |\n| [Microsoft Reciprocal License](https://opensource.org/licenses/MS-RL)             | `ms-rl`    | No  |\n| [Universal Permissive License 1.0](https://opensource.org/licenses/UPL)           | `upl`      | No  |\n| [University of Illinois/NCSA Open Source License](https://opensource.org/licenses/NCSA) | `uiuc` | No |\n| [Unlicense](http://unlicense.org)                                                 | `unlicense` | No  |\n| [Do What The Fuck You Want To Public License](http://www.wtfpl.net)               | `wtf`      | No  |\n\nDon't see the license you want?\nOpen an issue and I'd be happy to add it.\n\nTo insert the full text of a license at the top of the file, enter `:License('abbr')`, where `abbr` refers to the abbreviation in the table.\nSome licenses require that license stubs be inserted at the top of files.\n(See the **Stub** column in the table.)\nFor applicable licenses, you can get the stub using `:Stub('abbr')`.\nCalling `:Stub` on licenses without an available stub causes an error.\n\nSome licenses and stubs require a year, author, and/or email address.\nThis plugin automatically populates those for you!\nThe year always uses the current year, but to set your name and email address, add these lines to your .vimrc or equivalent:\n\n```VimL\nlet g:license_author = 'Rick Astley'\nlet g:license_email = 'rickroll@example.com'\n```\n\nThough, unless you happen to be Rick Astley, you should use your own information.\nYou don't need to set these values; if the variables aren't set, the plugin will use the global Git configured username and email if a `git` executable is found, otherwise the author and email in the inserted license text will appear as `{AUTHOR}` and `{EMAIL}`, respectively.\n\n## Installation\n\nIf you don't have a preferred installation method, I recommend installing [Vim Plug](https://github.com/junegunn/vim-plug).\nThen just add\n\n```VimL\nPlug 'ararslan/license-to-vim'\n```\n\nto your .vimrc or equivalent and submit `:source %` then `:PlugInstall`.\n\n## License\n\nCopyright (C) 2016, Alex Arslan. Distributed under the same terms as Vim itself. See `:help license`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fararslan%2Flicense-to-vim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fararslan%2Flicense-to-vim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fararslan%2Flicense-to-vim/lists"}