Git Product home page Git Product logo

telescope-software-licenses.nvim's Introduction

telescope-software-licenses.nvim

telescope-software-licenses.nvim DEMO

This telescope.nvim extension allows you to view common software licenses and paste them into a buffer.

Currently supports the following licenses:

Requirements

  • Neovim (v0.6.0)
  • telescope.nvim (required)
  • Only tested on MacOS 11.6.1

Install

You can install the extension by using your plugin manager of choice or by cloning this repository somewhere on your filepath, and then adding the following somewhere after telescope in your configuration file (init.vim or init.lua).

Using Paq

require "paq" {
  "nvim-lua/plenary.nvim";
  "nvim-telescope/telescope.nvim";
  "chip/telescope-software-licenses.nvim";
}
require("telescope").load_extension("software-licenses");
use "nvim-lua/plenary.nvim"
use "nvim-telescope/telescope.nvim"
use "chip/telescope-software-licenses.nvim"
require("telescope").load_extension("software-licenses")

Setup

Commands

" Prompts user for Github user/repo
" Prompts for file argument, but uses README.md as default
:Telescope software-licenses find

Bind to Keys:

" Replace <Leader>sl with whatever you prefer
nnoremap <Leader>sl :Telescope software-licenses find<CR>

Development

$ git clone [email protected]:chip/telescope-software-licenses.nvim.git
$ cd telescope-software-licenses.nvim/lua/telescope/_extensions

See plugin/dev.vim for details.

telescope-software-licenses.nvim's People

Contributors

chip avatar fmbarina avatar misumisumi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

telescope-software-licenses.nvim's Issues

use external assets

Hi, these plugin is a convenient detail. I think that there is not need use licenses files of these repo. Maybe could be possible to use licenses of these repo or this or maybe according to the OS search in the filesystem, for example in linux there is a set of licenses in /usr/share/licenses/common.

note: Out of topic, but maybe the telescope picker could be simply Telescope licenses or Telescope software-licenses instead of Telescope software-licenses find/healt

Wrong MIT license description in README

This seems like the result of a copy and paste accident, in the README:

Currently supports the following licenses:

  • MIT: GNU General Public License (GPL)

The link makes sense, however why is MIT license's accompanying text "GNU General Public License (GPL)"?

Feel free to disregard and close the issue if I'm mistaken or misunderstood somehow.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.