nvim: nvim tree back to left
Prithu Goswami pg@prithu.dev
Tue, 17 Dec 2024 20:27:36 +0530
1 files changed,
11 insertions(+),
3 deletions(-)
M
config/nvim/lua/plugins/nvimtree.lua
→
config/nvim/lua/plugins/nvimtree.lua
@@ -1,4 +1,4 @@
-local tree_width_ratio = 0.3 +local tree_width_ratio = 0.18 local tree_height_ratio = 0.82014 return {@@ -18,10 +18,11 @@ update_focused_file = {
enable = true, }, view = { + preserve_window_proportions = true, centralize_selection = true, signcolumn = 'auto', float = { - enable = true, + enable = false, quit_on_focus_loss = true, open_win_config = function() local screen_w = vim.opt.columns:get()@@ -54,14 +55,21 @@ enable = true,
}, actions = { open_file = { + quit_on_open = true, window_picker = { enable = false, }, }, }, + tab = { + sync = { + open = true, + close = true, + }, + }, renderer = { indent_markers = { - enable = false, + enable = true, }, icons = { show = {