My custom plugins
This commit is contained in:
parent
7def76648a
commit
f4b9fef63c
7 changed files with 84 additions and 0 deletions
25
lua/custom/plugins/oil.lua
Normal file
25
lua/custom/plugins/oil.lua
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
return {
|
||||
"stevearc/oil.nvim",
|
||||
keys = {
|
||||
{ "-", "<cmd>Oil<cr>", desc = "Open Oil" },
|
||||
},
|
||||
config = function()
|
||||
require("oil").setup({
|
||||
keymaps = {
|
||||
["g?"] = "actions.show_help",
|
||||
["<CR>"] = "actions.select",
|
||||
["<C-s>"] = "actions.select_vsplit",
|
||||
["<C-h>"] = "actions.select_split",
|
||||
["<C-t>"] = "actions.select_tab",
|
||||
["<C-p>"] = "actions.preview",
|
||||
["<C-c>"] = "actions.close",
|
||||
["<C-l>"] = "actions.refresh",
|
||||
["-"] = "actions.parent",
|
||||
["_"] = "actions.open_cwd",
|
||||
["`"] = "actions.cd",
|
||||
["~"] = "actions.tcd",
|
||||
["g."] = "actions.toggle_hidden",
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue