You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When opening a directory like so: nvim . and hitting Enter on some file, NvimTree ends up on the right side of the screen instead of the left. Upon closing and reopening it, it appears on the left as intended.
If important, it is also showing on 50% of the screen as described in #1071.
I had this same issue this morning. I solved with this line in my nvim settings: vim.opt.splitright = true
I'm assuming you are using a .lua file for your settings. But if you are using a .vim file maybe you can use this: set splitright
For the 50% screen problem I solved with this options in my nvim-tree setup:
indeed this is unrelated to the tree, as the option is global. Setting resize_window to true will fix the issue as the tree will be moved and resized when opening the file.
Description
When opening a directory like so:
nvim .
and hittingEnter
on some file, NvimTree ends up on the right side of the screen instead of the left. Upon closing and reopening it, it appears on the left as intended.If important, it is also showing on 50% of the screen as described in #1071.
Neovim version
Operating system and version
macOS Monterey, 12.1
nvim-tree version
2457e14
Steps to reproduce
nvim .
Enter
on any fileExpected behavior
NvimTree remains open on left size, sized correctly
Actual behavior
NvimTree remains open on right size, taking up 50% of screen
Minimal config
The text was updated successfully, but these errors were encountered: