Skip to content

feature request: job_start() cwd option #1024

@still-dreaming-1

Description

@still-dreaming-1

It would be nice if job_start() accepted a cwd option in the option parameter. This would make it easy to start things with a specific working directory. Currently the Neovim jobstart() has such an option. I am working on adding a feature to the codi.vim plugin where it will start the REPL from the directory of the buffer being edited. In Neovim it is easy, I just pass the correct directory in the cwd option. In Vim I have to change Vim's current working directory to that directory, call job_start() and then change it back to the original working directory. Having such an option would allow this feature to work in Vim in a more side effect free way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions