open-browser-github.vim
open-browser-github.vim copied to clipboard
Open GitHub URL of current file, etc. from Vim editor (supported GitHub Enterprise)
With tpope's [rhubarb](https://github.com/tpope/vim-rhubarb) installed, it seems I get the same functionality with these two mappings: ``` nnoremap gx :GBrowse vnoremap gx :GBrowse ``` Is there any difference?
Does the support of gitlab, gitea, ... is plan ? It can make this plugins even more useful !
If a repo has multiple users, it asks me to choose one. But I would like to have one of two default behaviors: Default to the "origin" repo, or default...
With this .vimrc: ``` set nocompatible call plug#begin('~/.vim/bundle/') Plug 'tyru/open-browser.vim' Plug 'tyru/open-browser-github.vim' call plug#end() ``` `:OpenGithubProject` always opens current repo, even when called with an argument. E.g. calling `:OpenGithubProject tyru/open-browser.vim`...
Sometimes we want to share GitHub link to others. If this plugin supports copy GitHub link, it saves the trouble of opening browser , copying from address bar and closing...
It would be good to have the option to let `:OpenGithubFile` open the file at the line where the cursor is instead of `:'
All commands to open GH are failing with this message: ``` [openbrowser-github] curl -k -LI "https://github.com/microsoft/vscode/blob/07bd3cfbf60973332b04f454c9ca67066ca9d30e/src/vs/workbench/services/keybinding/browser/keyboardLayouts/en.darwin.ts" [openbrowser-github] curl received a response without 'Status' header. ```