Skip to content

Use System Default Program on File #1112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
HiramTheHero opened this issue Aug 21, 2023 · 2 comments
Closed

Use System Default Program on File #1112

HiramTheHero opened this issue Aug 21, 2023 · 2 comments

Comments

@HiramTheHero
Copy link

Nvim-tree has a really nice feature where you can highlight a file (say an excel file) and press s which will then open the file using the computer's default program for excel files. (Such as Microsoft Excel or LibreOffice.)

Screenshot 2023-08-11 at 8 10 38 PM

This feature is amazing. Does neo-tree.nvim have this same functionality? I couldn't find it in the docs, nor when I was using it.

Originally posted by @HiramTheHero in #1097

@miversen33
Copy link
Collaborator

I don't believe anything like that exists currently. I think you would have to implement it yourself using the :h neo-tree-custom-commands interface exposed in the neo-tree startup configuration.

@cseickel
Copy link
Contributor

There is an example in the Wiki for Linux and Mac: https://github.com/nvim-neo-tree/neo-tree.nvim/wiki/Recipies#open-with-system-viewer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants