Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/izifortune/weblink.vim
Copy to the clipboard a web link to your git host for current open file in vim.
https://github.com/izifortune/weblink.vim
clipboard hacktoberfest vim
Last synced: 17 days ago
JSON representation
Copy to the clipboard a web link to your git host for current open file in vim.
- Host: GitHub
- URL: https://github.com/izifortune/weblink.vim
- Owner: izifortune
- License: mit
- Created: 2020-10-03T12:02:38.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-23T08:41:45.000Z (9 months ago)
- Last Synced: 2024-10-13T22:36:20.556Z (about 1 month ago)
- Topics: clipboard, hacktoberfest, vim
- Language: Vim Script
- Homepage:
- Size: 104 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Weblink.vim
Copy to the clipboard a web link to your git host for current open file in vim.
Especially useful when sharing code and discussing with your team members.DISCLAIMER:
- Currently supported only MacOS (`pbcopy`)
- Currently supported only Github and Stash directory structureWhen browsing your repositories you often want to share a link to a colleague
to the specific file or line number for them to review it.## Installation
Use your favourite plugin manager. Example with `Plug`
```
Plug 'izifortune/weblink.vim'
```## Configuration
Ensure that you are in the root folder of your project when executing the command
## Usage
The plugin makes new commands available
`:WebLink ?`
Copy to the system clipboard the weblink to the file.
The optional parameter 1 will append the line number.`:WebLinkBranch ?`
Copy to the system clipboard the weblink to the file including the branch.
The optional parameter 1 will append the line number.