GitLink icon indicating copy to clipboard operation
GitLink copied to clipboard

CTRL-SHIFT-C copies the local file path; Only MOUSE-RIGHT-CLICK captures the github URL

Open ToddG opened this issue 4 months ago • 0 comments

SETUP

  1. install gitlink
  2. using vim plugin

REPRO1(fails):

  1. highlight a couple of lines of code in a file that's in a repo that's in github
  2. CTRL-SHIFT-C

ERROR

  1. paste the copied contents somewhere
  2. the the local file path is copied, not the github url
past/home/user/some-project/somefile.txt

REPRO2 (succeeds):

  1. highlight a couple of lines of code in a file that's in a repo that's in github 2.MOUSE-RIGHT-CLICK -> Select Copy GitHub Link
  2. paste the copied contents somewhere
some github url to somefile.txt

This has been the case for years, I just finally decided to write a bug report for this.

ToddG avatar Jul 29 '25 18:07 ToddG