When vim can't open a web browser (e.g. in a remote terminal over ssh), there
may not be a useful system command to execute with the GitHub URL. As a
fallback, this change simply echom's the GitHub URL so the user can manually
copy/middle-click it.
This change additionally deduplicates the command invocation code into a
helper function.
When vim can't open a web browser (e.g. in a remote terminal over ssh), there may not be a useful system command to execute with the GitHub URL. As a fallback, this change simply
echom
's the GitHub URL so the user can manually copy/middle-click it.This change additionally deduplicates the command invocation code into a helper function.