Skip to content

Opening files with Windows system viewer under WSL  #2428

@hendrikbursian

Description

@hendrikbursian

Can this functionality be implemented utilising API?
no

Is your feature request related to a problem? Please describe.
Under WSL I cannot and don't want to open files like a PDF within the WSL instance.

Describe the solution you'd like
I would like nvim_tree to open the files with the wslview utility analog to how the vim.ui.open api does it.

Describe alternatives you've considered
For now I just do require('nvim-tree.actions.node.system-open').config.system_open.cmd = 'wslview'

Additional context
Maybe the nvim-tree.actions.node.system-open function can make use of vim.ui.open itself.

Thank you for the plugin. I use it frequently and I am very happy how it turned out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    PR pleasenvim-tree team does not have the bandwidth to implement; a PR will be gratefully appreciatedfeature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions