dotfiles

[void/arch] linux dotfiles
git clone git://git.mdnr.space/dotfiles
Log | Files | Refs

commit fa71e34afef37014443d0b3bef2a77be5e352e7d
parent c1daca7bc97882b695bf2f65dc90e053f59e0c0a
Author: mdnrz <mehdeenoroozi@gmail.com>
Date:   Tue, 16 Dec 2025 18:20:11 +0330

nvim: add keybinding for oil float window

Diffstat:
Mnvim/.config/nvim/lua/config/plugins/oil.lua | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/nvim/.config/nvim/lua/config/plugins/oil.lua b/nvim/.config/nvim/lua/config/plugins/oil.lua @@ -40,10 +40,10 @@ return { -- Send deleted files to the trash instead of permanently deleting them (:help oil-trash) delete_to_trash = false, -- Skip the confirmation popup for simple operations (:help oil.skip_confirm_for_simple_edits) - skip_confirm_for_simple_edits = false, + skip_confirm_for_simple_edits = yes, -- Selecting a new/moved/renamed file or directory will prompt you to save changes first -- (:help prompt_save_on_select_new_entry) - prompt_save_on_select_new_entry = true, + prompt_save_on_select_new_entry = false, -- Oil will automatically delete hidden buffers after this delay -- You can set the delay to false to disable cleanup entirely -- Note that the cleanup process only starts when none of the oil buffers are currently displayed @@ -136,8 +136,8 @@ return { -- Padding around the floating window padding = 2, -- max_width and max_height can be integers or a float between 0 and 1 (e.g. 0.4 for 40%) - max_width = 0, - max_height = 0, + max_width = 0.5, + max_height = 0.5, border = "rounded", win_options = { winblend = 0,