ecosse3 / nvim

A non-minimal Neovim config built to work most efficiently with Frontend Development
GNU General Public License v3.0
1.22k stars 107 forks source link

Opening the file explorer #33

Closed devpaps closed 2 years ago

devpaps commented 2 years ago

I've re-installed Ecovim now, but whenever i want to open a file toogle the file explorer, the nvim-tree do a vertical split of the file that it's currently on in the file explorer. See the clip below.

Anyone else is having this issue?

https://user-images.githubusercontent.com/12218443/155346923-9190c2fe-8899-43ff-a32a-5c76c714ddcf.mp4

akiletour commented 2 years ago

Hello,

Which key did you use to open the file? Just "Enter"?

devpaps commented 2 years ago

Hi! Yes, i am.

This has never happened before. Have they done any changes in nvim-tree.lua?

devpaps commented 2 years ago

I want to clarify that it splits the file when i don't select i file i want to open. In other words, when i toogle the file explorer, .

ecosse3 commented 2 years ago

@devpaps I can reproduce this issue. It's probably related to some of the nvim-tree update. Let me fix that and I will let you know.

This is caused by default nvim-tree keymaping for <C-e>:

  { key = "<C-e>",                        action = "edit_in_place" },
ecosse3 commented 2 years ago

@devpaps Fixed on dev branch. Probably will make a release to master soon. Thank you for the issue.

Fixed in commit: https://github.com/ecosse3/nvim/commit/6485cf204f038a093c0c7191b281a8752d65e388

devpaps commented 2 years ago

Perfect! That was fast! 🙂 Yeah, not problem, just glad to help out.