๐Ÿ“ฆ jtai / vim-githublink

Display the github.com URL of the current line

โ˜… 2 stars โ‘‚ 0 forks ๐Ÿ‘ 2 watching
๐Ÿ“ฅ Clone https://github.com/jtai/vim-githublink.git
HTTPS git clone https://github.com/jtai/vim-githublink.git
SSH git clone git@github.com:jtai/vim-githublink.git
CLI gh repo clone jtai/vim-githublink
Jon Tai Jon Tai Simplify BaseUrl function a21ca77 11 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ plugin
๐Ÿ“„ README.md
๐Ÿ“„ README.md

githublink.vim

This vim plugin allows you to type \ g in command mode to display the github.com URL of the current line.

If pbcopy is available, the URL will also be copied to the clipboard.

Installation

Option 1: Manual installation

  • Clone the repository.
$ git clone https://github.com/jtai/vim-githublink.git

  • Move githublink.vim to your .vim/plugins directory.
$ cd vim-githublink/plugins $ mv githublink.vim ~/.vim/plugins/

Option 2: Pathogen installation (recommended)

  • Download and install Tim Pope's Pathogen.
  • Clone the repository in the pathogen plugins directory.
$ cd ~/.vim/bundle $ git clone https://github.com/jtai/vim-githublink.git