oil: float and q to quit
parent
132e069133
commit
431197d583
|
@ -1,9 +1,13 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"stevearc/oil.nvim",
|
"stevearc/oil.nvim",
|
||||||
opts = {},
|
opts = {
|
||||||
|
keymaps = {
|
||||||
|
["q"] = "actions.close",
|
||||||
|
},
|
||||||
|
},
|
||||||
cmd = { "Oil" },
|
cmd = { "Oil" },
|
||||||
keys = { { "<leader>o", "<CMD>Oil<CR>", desc = "Oil", remap = true } },
|
keys = { { "<leader>o", "<CMD>Oil --float<CR>", desc = "Oil", remap = true } },
|
||||||
-- Optional dependencies
|
-- Optional dependencies
|
||||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue