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 'nacq/vim-open-repo'
call plug#end()
Call :OpenRepo
in any line or visual selection of lines to open the repository url.
Set the browser application to use when opening the repository url.
let g:vim_open_repo_browser = 'Google Chrome'
Define a default branch, if this variable is not defined, it will open the current branch.
let g:vim_open_repo_default_branch = 'develop'