Skip to content

Allow to specify target folder on remote host. #235

Description

@laurens-moonens

Is your feature request related to a problem? Please describe.
I want to connect to a host, but have neovim open in a specific folder in that host instead of just opening in ~/

Describe the solution you'd like
Allow me to specify the target folder of the host, e.g. by connecting to it like so:
user@192.168.1.123:/home/user/my_custom_folder/

Describe alternatives you've considered
Alternatively, allow me to specify a RemoteCommand in the .ssh/config file that allows me to go to the specific folder. Right now this also does not work. E.g. like so:

Host myHost
    Hostname 192.168.1.123
    User user
    RemoteCommand cd ~/my_custom_folder && exec $SHELL -l
    RequestTTY force

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions