Skip to content
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

[SUGGESTION]Use explorer window as a file navigation system(to replace nerd tree) #235

Open
samrxth opened this issue Jun 13, 2021 · 3 comments

Comments

@samrxth
Copy link

samrxth commented Jun 13, 2021

No description provided.

@juliardi
Copy link

juliardi commented Jul 9, 2021

+1 for this. As of now, when I double clicked a file on explorer window, it would open my default editor instead of opening it as a tab in Goneovim. Is it possible to configure it with current implementation, or should it be implemented in the code first?

@akiyosi
Copy link
Owner

akiyosi commented Jul 10, 2021

Hi

For this suggestion, I made it possible to define a command to open it in the config file.
Please try the latest build the following.

https://github.com/akiyosi/goneovim/actions/runs/1015680857

Configuration example:

Add FileOpenCmd settings to settings.toml as shown below.

[Editor]
# ...
FileOpenCmd = ":tabe"
# ...

@juliardi
Copy link

@akiyosi Thanks for implementing this feature. I have tested in the new version and when I double click a file in explorer, it will open as a new tab in nvim. Following this, I have new question, can we make explorer open folder like nerdtree? With the current behavior, if we double click a folder, it will open like a file would.

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