Could I toggle or open nvim-tree in the current split rather than in a separate extra split on the left?
Closed this issue · 1 comments
CoinCheung commented
When I open nvim-tree, it splits the screen on the left and show the tree in there. But I hope it will not show the screen, and open on the current split that my cursor stays. Is there such configuration?
CoinCheung commented
I tried this, but it failed to work:
vim.keymap.set("n", "<leader>n", ":NvimTreeToggle<cr>", {current_window=true})