summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/neotree.lua
blob: 5903bef567026f2ea33938a9da4cd2ecb7f4b9d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
return {
    'nvim-neo-tree/neo-tree.nvim',
    branch = 'v3.x',
    dependencies = {
        'nvim-lua/plenary.nvim',
        'nvim-tree/nvim-web-devicons',
        'MunifTanjim/nui.nvim',
    },
    config = function()
        vim.keymap.set('n', '<leader>gp', ':Neotree toggle reveal left<cr>', { desc = '[G]oto [P]roject (toggle)' })
        vim.keymap.set('n', 'gp', ':Neotree float<cr>', { desc = '[G]oto [P]roject (floating)' })
    end,
}