oil: float and q to quit
This commit is contained in:
parent
132e069133
commit
431197d583
1 changed files with 6 additions and 2 deletions
|
@ -1,9 +1,13 @@
|
|||
return {
|
||||
{
|
||||
"stevearc/oil.nvim",
|
||||
opts = {},
|
||||
opts = {
|
||||
keymaps = {
|
||||
["q"] = "actions.close",
|
||||
},
|
||||
},
|
||||
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
|
||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue