From b14984a6ab3e73003b7d0567c9c8fb447727a2cf Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Thu, 1 May 2025 02:22:36 +0200 Subject: [PATCH] fix(oil): update config --- lua/ow/plugins/oil.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lua/ow/plugins/oil.lua b/lua/ow/plugins/oil.lua index eecfbe5..05becfb 100644 --- a/lua/ow/plugins/oil.lua +++ b/lua/ow/plugins/oil.lua @@ -1,5 +1,3 @@ --- https://github.com/NvChad/nvim-colorizer.lua - ---@type LazyPluginSpec return { "stevearc/oil.nvim", @@ -12,6 +10,7 @@ return { mode = "n", }, }, + ---@type oil.SetupOpts opts = { default_file_explorer = true, columns = { @@ -20,11 +19,10 @@ return { "size", "mtime", }, - constrain_cursor = "name", delete_to_trash = true, float = { max_width = 80, - max_height = 40, + max_height = 20, }, skip_confirm_for_simple_edits = true, watch_for_changes = false,