Skip to content

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

@ToddG

Description

@ToddG

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions