mirror of
https://github.com/tomru/nvim.git
synced 2026-03-03 06:27:14 +01:00
use opts for noice
This commit is contained in:
@@ -2,8 +2,7 @@ return {
|
||||
{
|
||||
'stevearc/oil.nvim',
|
||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||
config = function()
|
||||
require('oil').setup {
|
||||
opts = {
|
||||
columns = { 'icon' },
|
||||
keymaps = {
|
||||
['<C-h>'] = false,
|
||||
@@ -13,8 +12,8 @@ return {
|
||||
view_options = {
|
||||
show_hidden = true,
|
||||
},
|
||||
}
|
||||
|
||||
},
|
||||
init = function()
|
||||
-- Open parent directory in current window
|
||||
vim.keymap.set('n', '-', '<CMD>Oil<CR>', { desc = 'Open parent directory' })
|
||||
|
||||
|
||||
Reference in New Issue
Block a user