GitLink
GitLink copied to clipboard
CTRL-SHIFT-C copies the local file path; Only MOUSE-RIGHT-CLICK captures the github URL
SETUP
- install gitlink
- using vim plugin
REPRO1(fails):
- highlight a couple of lines of code in a file that's in a repo that's in github
- CTRL-SHIFT-C
ERROR
- paste the copied contents somewhere
- the the local file path is copied, not the github url
past/home/user/some-project/somefile.txt
REPRO2 (succeeds):
- 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 - 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.