Re-add oil.nvim
This commit is contained in:
parent
bd79ecc1de
commit
3d806c436f
4 changed files with 17 additions and 8 deletions
|
@ -1,5 +0,0 @@
|
||||||
local opt = vim.opt_local
|
|
||||||
|
|
||||||
opt.cursorline = false
|
|
||||||
opt.number = true
|
|
||||||
opt.relativenumber = true
|
|
|
@ -1,3 +0,0 @@
|
||||||
vim.keymap.set("n", "-", vim.cmd.Ex)
|
|
||||||
|
|
||||||
vim.g.netrw_banner = 0
|
|
16
modules/home-manager/coding/neovim/config/plugin/oil.lua
Normal file
16
modules/home-manager/coding/neovim/config/plugin/oil.lua
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
require("oil").setup {
|
||||||
|
columns = { "icon" },
|
||||||
|
|
||||||
|
keymaps = {
|
||||||
|
["<C-h>"] = false,
|
||||||
|
["<M-h>"] = "actions.select_split",
|
||||||
|
},
|
||||||
|
|
||||||
|
skip_confirm_for_simple_edits = true,
|
||||||
|
|
||||||
|
view_options = {
|
||||||
|
show_hidden = true,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
vim.keymap.set("n", "-", "<Cmd>Oil<cr>", { desc = "Open parent directory" })
|
|
@ -30,6 +30,7 @@ in
|
||||||
harpoon2
|
harpoon2
|
||||||
mini-nvim
|
mini-nvim
|
||||||
nvim-web-devicons
|
nvim-web-devicons
|
||||||
|
oil-nvim
|
||||||
phpactor
|
phpactor
|
||||||
refactoring-nvim
|
refactoring-nvim
|
||||||
standard-vim
|
standard-vim
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue