Skip to content

joncol/gitvisit.kak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

gitvisit.kak

This is a Kakoune plugin that lets you visit the remote repository of a file. It is useful when you are editing a file and want to see it in a web browser, maybe to be able to send a link to someone else.

It automatically copies the link to the system clipboard.

It works with GitHub, and GitLab.

Requirements

To figure out the currently selected lines, awk is used.

The command xdg-open is required to open the default web browser.

To copy the link to the clipboard, xsel is used.

Installation

To install using plug.kak, add:

plug "joncol/gitvisit.kak" config %{
  # Here you can bind some key to the command `visit-git-remote-url`.
}

Feedback

Bug reports and/or PRs are welcome.

About

A Kakoune plugin to visit the remote repository URL of a file in in a browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors