summaryrefslogtreecommitdiff
path: root/dot_config/nvim/lua/ibrahim/plugins/oil.lua
blob: ac41c0a6847c71f001433be2a24e82c74a1c3025 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
return {
    "stevearc/oil.nvim",
    dependencies = { "nvim-tree/nvim-web-devicons" },
    lazy = false,
    config = function()
        require("oil").setup {
            keymaps = {
                -- Disabling because I want Telescope to find files in Oil
                ["<C-p>"] = false
            }
        }

        vim.keymap.set("n", "g-", "<CMD>Oil<CR>", { desc = "Open parent directory" })
    end,
}