Another vim plugin to open your current line in the repository website (Github, Gitlab or Bitbucket).
As any other plugin. Example using vim-plug:
call plug#begin('~/.vim/plugged')
Plug 'nicolasacquaviva/vim-open-repo'
call plug#end()
Call :OpenRepo
in any line or visual selection of lines to open the repository url.
Define a default branch, if this variable is not defined, it will open the current branch.
let g:vim_open_repo_default_branch = 'develop'