jdhao / nvim-config

A modern Neovim configuration with full battery for Python, Lua, C++, Markdown, LaTeX, and more...
MIT License
3.56k stars 527 forks source link

Nvim-tree resize window #171

Closed Rohith-JN closed 1 year ago

Rohith-JN commented 1 year ago

When nvim is started nvim-tree takes half of the screen and I have to manually move the tab

Screenshot (10)

This fixed the issue:

nvim_tree.setup {
    actions = {
        open_file = {
            resize_window = true
        }
    }
}

Screenshot (11)