ruifm / gitlinker.nvim

A lua neovim plugin to generate shareable file permalinks (with line ranges) for several git web frontend hosts. Inspired by tpope/vim-fugitive's :GBrowse
GNU General Public License v3.0
525 stars 44 forks source link

add description to key mappings #64

Open tastytea opened 2 years ago

tastytea commented 2 years ago

I use which-key to help me remember key mappings. Currently the gitlinker entry looks like this:

y ➜ require'gitlinker'.get_buf_range_url('v')

With this patch, it looks like this:

y ➜ Generate shareable permalink

desc is available since neovim 0.7.0.