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

@ -52,11 +52,12 @@ local dash = {
header = vim.split(logo, '\n'), header = vim.split(logo, '\n'),
-- stylua: ignore -- stylua: ignore
center = { center = {
{ action = "Telescope find_files", desc = " Find File", icon = "", key = "f" }, { action = "Telescope find_files", desc = " Find File", icon = "", key = "f" },
{ action = "ene | startinsert", desc = " New File", icon = "", key = "n" }, { action = "ene | startinsert", desc = " New File", icon = "", key = "n" },
{ action = "Telescope oldfiles", desc = " Recent Files", icon = "", key = "r" }, { action = "Telescope oldfiles", desc = " Recent Files", icon = "", key = "r" },
{ action = "Telescope live_grep", desc = " Find Text", icon = "", key = "g" }, { action = "Telescope live_grep", desc = " Find Text", icon = "", key = "g" },
{ action = "Lazy", desc = " Lazy", icon = "󰒲 ", key = "l" }, { action = "Lazy", desc = " Lazy", icon = "󰒲 ", key = "l" },
{ action = "Oil", desc = " Oil", icon = "󰾅 ", key = "o" },
{ action = "qa", desc = " Quit", icon = "", key = "q" }, { action = "qa", desc = " Quit", icon = "", key = "q" },
}, },
footer = function() footer = function()

View File

@ -37,9 +37,9 @@ local oil = {
concealcursor = 'nvic', concealcursor = 'nvic',
}, },
-- Send deleted files to the trash instead of permanently deleting them (:help oil-trash) -- 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 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 -- Selecting a new/moved/renamed file or directory will prompt you to save changes first
-- (:help prompt_save_on_select_new_entry) -- (:help prompt_save_on_select_new_entry)
prompt_save_on_select_new_entry = true, prompt_save_on_select_new_entry = true,
@ -99,7 +99,7 @@ local oil = {
return false return false
end, end,
-- Sort file names in a more intuitive order for humans. Is less performant, -- 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, natural_order = true,
-- Sort file and directory names case insensitive -- Sort file and directory names case insensitive
case_insensitive = false, case_insensitive = false,