Switch NerdTREE for oil
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Has been cancelled
Some checks failed
Test Neovim config on push / build (ubuntu-20.04) (push) Has been cancelled
This commit is contained in:
@@ -77,7 +77,7 @@ require("oil").setup({
|
|||||||
use_default_keymaps = true,
|
use_default_keymaps = true,
|
||||||
view_options = {
|
view_options = {
|
||||||
-- Show files and directories that start with "."
|
-- Show files and directories that start with "."
|
||||||
show_hidden = false,
|
show_hidden = true,
|
||||||
-- This function defines what is considered a "hidden" file
|
-- This function defines what is considered a "hidden" file
|
||||||
is_hidden_file = function(name, bufnr)
|
is_hidden_file = function(name, bufnr)
|
||||||
local m = name:match("^%.")
|
local m = name:match("^%.")
|
||||||
@@ -200,3 +200,4 @@ require("oil").setup({
|
|||||||
border = nil,
|
border = nil,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
vim.keymap.set("n", "<C-E>", "<CMD>Oil<CR>", { desc = "Open parent directory" })
|
||||||
|
|||||||
Reference in New Issue
Block a user