Remove oil.nvim
This commit is contained in:
parent
0828966dfd
commit
30880dd786
4 changed files with 6 additions and 21 deletions
|
@ -27,7 +27,6 @@ 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
|
||||||
|
|
5
nvim/after/ftplugin/netrw.lua
Normal file
5
nvim/after/ftplugin/netrw.lua
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
local opt = vim.opt_local
|
||||||
|
|
||||||
|
opt.cursorline = false
|
||||||
|
opt.number = true
|
||||||
|
opt.relativenumber = true
|
|
@ -1,6 +1,3 @@
|
||||||
vim.keymap.set("n", "<leader>pv", vim.cmd.Ex)
|
vim.keymap.set("n", "-", vim.cmd.Ex)
|
||||||
|
|
||||||
vim.g.netrw_banner = 0
|
vim.g.netrw_banner = 0
|
||||||
vim.g.netrw_browse_split = 0
|
|
||||||
vim.g.netrw_liststyle = 3
|
|
||||||
vim.g.netrw_winsize = 20
|
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
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" })
|
|
Loading…
Add table
Add a link
Reference in a new issue