This commit is contained in:
ZaneFerns360 2024-09-21 12:37:05 +05:30
parent 31fceada01
commit bf34539aae
2 changed files with 5 additions and 4 deletions

View File

@ -57,6 +57,7 @@ local dash = {
{ action = "Telescope oldfiles", desc = " Recent Files", icon = "", key = "r" },
{ action = "Telescope live_grep", desc = " Find Text", icon = "", key = "g" },
{ action = "Lazy", desc = " Lazy", icon = "󰒲 ", key = "l" },
{ action = "Oil", desc = " Oil", icon = "󰾅 ", key = "o" },
{ action = "qa", desc = " Quit", icon = "", key = "q" },
},
footer = function()

View File

@ -37,9 +37,9 @@ local oil = {
concealcursor = 'nvic',
},
-- Send deleted files to the trash instead of permanently deleting them (:help oil-trash)
delete_to_trash = true,
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,
@ -99,7 +99,7 @@ local oil = {
return false
end,
-- Sort file names in a more intuitive order for humans. Is less performant,
-- so you may want to set to false if you work with large directories.
-- so you may want to set to false if you work with large directories.oil
natural_order = true,
-- Sort file and directory names case insensitive
case_insensitive = false,