From e291f867b8708a93242cbabdf66b03384297d813 Mon Sep 17 00:00:00 2001 From: andrzej Date: Thu, 13 Jun 2024 09:38:55 +0200 Subject: [PATCH] tweak oil --- nvim/.config/nvim/lua/plugins/oil.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/nvim/.config/nvim/lua/plugins/oil.lua b/nvim/.config/nvim/lua/plugins/oil.lua index af81b58..081391e 100644 --- a/nvim/.config/nvim/lua/plugins/oil.lua +++ b/nvim/.config/nvim/lua/plugins/oil.lua @@ -9,9 +9,9 @@ return { -- See :help oil-columns columns = { "icon", - -- "permissions", - -- "size", - -- "mtime", + "permissions", + "size", + "mtime", }, -- Buffer-local options to use for oil buffers buf_options = { @@ -32,7 +32,7 @@ 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 = true, -- 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, @@ -61,8 +61,8 @@ return { keymaps = { ["g?"] = "actions.show_help", [""] = "actions.select", - [""] = "actions.select_vsplit", - [""] = "actions.select_split", + [""] = "actions.select_vsplit", + [""] = "actions.select_split", [""] = "actions.select_tab", [""] = "actions.preview", [""] = "actions.close", @@ -80,7 +80,7 @@ return { use_default_keymaps = true, view_options = { -- Show files and directories that start with "." - show_hidden = false, + show_hidden = true, -- This function defines what is considered a "hidden" file is_hidden_file = function(name, bufnr) return vim.startswith(name, ".")