oil
This commit is contained in:
parent
31fceada01
commit
bf34539aae
|
@ -57,6 +57,7 @@ local dash = {
|
||||||
{ 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()
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue