Skip to content

Tiny nvim utility for yanking the remote version control URL of the current buffer

Notifications You must be signed in to change notification settings

Rigellute/vcs-url.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

vcs-url.nvim

Copy the remote URL of the current file in to your clipboard.

🚧 Now only works for GitHub and GitLab.

Installation

Install the theme with your preferred package manager, such as folke/lazy.nvim:

{
  "Rigellute/vcs-url.nvim",
}

Usage

:VCSCopyUrl

Or you can map it to a key:

local wk = require("which-key")

wk.register({
  ["<leader>"] = {
    g = {
      v = { "<cmd>VCSCopyUrl<cr>", "Copy remote URL" },
    },
  },
})

About

Tiny nvim utility for yanking the remote version control URL of the current buffer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages