diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..76aade5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +./lazy-lock.json diff --git a/lazy-lock.json b/lazy-lock.json index d3ff769..2acd0e4 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -10,6 +10,7 @@ "cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" }, "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp_luasnip": { "branch": "master", "commit": "18095520391186d634a0045dacaa346291096566" }, + "duck.nvim": { "branch": "main", "commit": "8f18dd79c701698fc150119ef642c1881ce6a538" }, "everforest": { "branch": "master", "commit": "83b666410d7ae0eccf96dbbe3b4b6ac5b8172d38" }, "fidget.nvim": { "branch": "main", "commit": "89b633f3bd0b7187f070236b348697de176860e2" }, "friendly-snippets": { "branch": "main", "commit": "ebf6d6e83494cdd88a54a429340256f4dbb6a052" }, @@ -26,6 +27,7 @@ "neodev.nvim": { "branch": "main", "commit": "471324e6c746284dbbdc1d357799d1911bb7e120" }, "nui.nvim": { "branch": "main", "commit": "c8de23342caf8d50b15d6b28368d36a56a69d76f" }, "null-ls.nvim": { "branch": "main", "commit": "0010ea927ab7c09ef0ce9bf28c2b573fc302f5a7" }, + "nvim-autopairs": { "branch": "master", "commit": "defad64afbf19381fe31488a7582bbac421d6e38" }, "nvim-cmp": { "branch": "main", "commit": "5dce1b778b85c717f6614e3f4da45e9f19f54435" }, "nvim-lspconfig": { "branch": "master", "commit": "cc388d3f6b9c7c943ae2b2dcd46ad470fd257f91" }, "nvim-treesitter": { "branch": "master", "commit": "bf8b089eecef9e9e8c1765f81613a2fd5e49175c" }, @@ -34,6 +36,7 @@ "nvim-web-devicons": { "branch": "master", "commit": "973ab742f143a796a779af4d786ec409116a0d87" }, "plenary.nvim": { "branch": "master", "commit": "9ce85b0f7dcfe5358c0be937ad23e456907d410b" }, "rose-pine": { "branch": "main", "commit": "e29002cbee4854a9c8c4b148d8a52fae3176070f" }, + "symbols-outline.nvim": { "branch": "master", "commit": "512791925d57a61c545bc303356e8a8f7869763c" }, "telescope-fzf-native.nvim": { "branch": "main", "commit": "6c921ca12321edaa773e324ef64ea301a1d0da62" }, "telescope.nvim": { "branch": "0.1.x", "commit": "54930e1abfc94409e1bb9266e752ef8379008592" }, "toggleterm.nvim": { "branch": "main", "commit": "b90a1381e9b5b8596f49070ee86c71db267ac868" }, diff --git a/lua/plugins/misc.lua b/lua/plugins/misc.lua index 01635dd..8b7131d 100644 --- a/lua/plugins/misc.lua +++ b/lua/plugins/misc.lua @@ -22,4 +22,27 @@ return { "tpope/vim-sleuth", -- Detect tabstop and shiftwidth automatically "tpope/vim-surround", -- Surround stuff with the ys-, cs-, ds- commands "mrjones2014/nvim-ts-rainbow", + { + "windwp/nvim-autopairs", + event = "InsertEnter", + opts = {}, + }, + { + "tamton-aquib/duck.nvim", + config = function () + local duck = require("duck") + duck.hatch("🦀", 10) + vim.keymap.set('n', 'dn', function () duck.hatch("🦀", 10) end, {}) + vim.keymap.set('n', 'dk', function () duck.cook() end, {}) + end + }, + { + "simrat39/symbols-outline.nvim", + cmd = "SymbolsOutline", + config = function () + vim.keymap.set('n', 't', 'SymbolsOutline') + end + }, + + } diff --git a/lua/plugins/neo-tree.lua b/lua/plugins/neo-tree.lua index 54faf1d..3f2c7f2 100644 --- a/lua/plugins/neo-tree.lua +++ b/lua/plugins/neo-tree.lua @@ -12,9 +12,15 @@ return { require("neo-tree").setup({ close_if_last_window=true, filesystem = { + filtered_items = { + visible = true + }, follow_current_file = { enable=true }, use_libuv_file_watcher=true, }, + window = { + width = 34, + } }) require("helpers.keys").map( { "n", "v" },