From ea44dd89a10a9a64840274bb50408c4d1f910b9f Mon Sep 17 00:00:00 2001 From: aminnairi <18418459+aminnairi@users.noreply.github.com> Date: Wed, 3 Jan 2024 18:05:20 +0100 Subject: [PATCH] always opening the three to the side --- .../neovim/files/nvim/lua/settings/lazy/plugins/nvimtree.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvimtree.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvimtree.lua index 0cea4c1..e36b5f0 100644 --- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvimtree.lua +++ b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/nvimtree.lua @@ -111,8 +111,12 @@ return { disable_netrw = true, -- Reload the tree whenever a buffer is opened reload_on_bufenter = true, + -- Allows using vim.ui.select for various operation instead of the defaut implementation + select_prompts = true, -- dynamically get the width of the tree width = get_width, + -- Always open the tree on the left side of the screen + side = "left", }) local whichKey = require("which-key")