gitlinker.nvim
gitlinker.nvim copied to clipboard
Parse remote host from ssh config
In some situations, a user can set a Host
rule in ssh config, which defines an alias for a hostname. Such as:
Host example
Hostname example.com
User git
IdentityFile ~/.ssh/gitea
The remote uri will look like: example:username/repository.git
.
To avoid problems parsing the remote uri, an ssh
module was created to set the proper hostname based on ssh config.
Closes #53
I just tried out this fork because I have the same issue with ssh configurations. It works well.
Any update on this?