summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/custom/plugins/neotree.lua
blob: 661ab40f8280bbf66cec8f132455aa20b8b4a8c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
return {
    'nvim-neo-tree/neo-tree.nvim',
    branch = 'v3.x',
    dependencies = {
        'nvim-lua/plenary.nvim',
        'nvim-tree/nvim-web-devicons',
        'MunifTanjim/nui.nvim',
    },
    opts = {
        open_files_do_not_replace_types = { 'terminal', 'Trouble', 'qf', 'edgy' },
    },
    config = function()
        vim.keymap.set('n', '<leader>nt', '<cmd>Neotree toggle reveal left<cr>', { desc = '[N]eotree [T]oggle' })
    end,
}