floating oil
This commit is contained in:
parent
0ad482bc20
commit
6df31f2806
|
|
@ -8,6 +8,9 @@ return {
|
||||||
delete_to_trash = true,
|
delete_to_trash = true,
|
||||||
skip_confirm_for_simple_edits = true,
|
skip_confirm_for_simple_edits = true,
|
||||||
|
|
||||||
|
float = {
|
||||||
|
max_width = 0.7,
|
||||||
|
},
|
||||||
view_options = {
|
view_options = {
|
||||||
show_hidden = true,
|
show_hidden = true,
|
||||||
},
|
},
|
||||||
|
|
@ -17,6 +20,6 @@ return {
|
||||||
-- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
|
-- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
|
||||||
lazy = false,
|
lazy = false,
|
||||||
init = function()
|
init = function()
|
||||||
vim.keymap.set('n', '-', '<CMD>Oil<CR>', { desc = 'Open parent directory' })
|
vim.keymap.set('n', '-', '<CMD>Oil --float<CR>', { desc = 'Open parent directory' })
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue