diff --git a/lazy-lock.json b/lazy-lock.json index 70b76e5..33cf0a7 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -20,19 +20,18 @@ "mini.comment": { "branch": "main", "commit": "5e8c7f75c48d958ef84ed75772b0263284c8621d" }, "mini.pairs": { "branch": "main", "commit": "0256717c9364ad6b5384c37b4f96fb4f7cc74867" }, "mini.surround": { "branch": "main", "commit": "b7c2f4bea1f60af8dfee71f696319d045d986ce6" }, - "neo-tree.nvim": { "branch": "v2.x", "commit": "205184aa0e0f08e8a1249d9bb37b45bae85f01b9" }, "neoconf.nvim": { "branch": "main", "commit": "36b0be969326e70143bcd878d4a27f574eabc292" }, - "neodev.nvim": { "branch": "main", "commit": "bd2b5deb568717cc0837c595cf7e945c17b6970d" }, "nui.nvim": { "branch": "main", "commit": "0dc148c6ec06577fcf06cbab3b7dac96d48ba6be" }, "null-ls.nvim": { "branch": "main", "commit": "787d250107b5f6a2535245c4060cc7a5b0b87884" }, "nvim-cmp": { "branch": "main", "commit": "feed47fd1da7a1bad2c7dca456ea19c8a5a9823a" }, "nvim-lspconfig": { "branch": "master", "commit": "4bb0f1845c5cc6465aecedc773fc2d619fcd8faf" }, "nvim-navic": { "branch": "master", "commit": "cdd24539bcf114a499827e9b32869fe74836efe7" }, "nvim-spectre": { "branch": "master", "commit": "b71b64afe9fedbfdd25a8abec897ff4af3bd553a" }, + "nvim-tree.lua": { "branch": "master", "commit": "1d79a64a88af47ddbb55f4805ab537d11d5b908e" }, "nvim-treesitter": { "branch": "master", "commit": "89e5fa66cf53854f45cfcfae45afb93171cf5c05" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "542e0879d524ba717234fcba049b6c2da7989d5a" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "729d83ecb990dc2b30272833c213cc6d49ed5214" }, - "nvim-web-devicons": { "branch": "master", "commit": "4af94fec29f508159ceab5413383e5dedd6c24e3" }, + "nvim-web-devicons": { "branch": "master", "commit": "f1b1cee3a561590a6c1637a9326c406f6e4af914" }, "persistence.nvim": { "branch": "main", "commit": "adcf6913693a0434665d162ee45a186230496f8a" }, "plenary.nvim": { "branch": "master", "commit": "253d34830709d690f013daf2853a9d21ad7accab" }, "telescope.nvim": { "branch": "master", "commit": "a3f17d3baf70df58b9d3544ea30abe52a7a832c2" }, diff --git a/lua/config/keymaps.lua b/lua/config/keymaps.lua index 32b0f39..51af193 100644 --- a/lua/config/keymaps.lua +++ b/lua/config/keymaps.lua @@ -71,14 +71,14 @@ keymap("n", "", "Bdelete!", opts) -- keymap("v", "<", "", ">gv", opts) -- --- -- search with '-', for my LatinAmerican layour --- keymap("n", "-", "/", opts) --- keymap("x", "-", "/", opts) +-- search with '-', for my LatinAmerican layour +keymap("n", "-", "/", opts) +keymap("x", "-", "/", opts) -- -- -- Plugins -- -- --- -- NvimTree --- keymap("n", "e", ":NvimTreeToggle", opts) +-- NvimTree +keymap("n", "e", ":NvimTreeToggle", opts) -- -- -- Telescope -- keymap("n", "fa", ":Telescope find_files", opts) @@ -123,15 +123,15 @@ keymap("n", "", "Bdelete!", opts) -- keymap('x', '', ':MoveBlock(1)', opts) -- keymap('x', '', ':MoveBlock(-1)', opts) -- --- -- disable arrow keys --- keymap("n", "", "", opts) --- keymap("n", "", "", opts) --- keymap("n", "", "", opts) --- keymap("n", "", "", opts) --- keymap("i", "", "", opts) --- keymap("i", "", "", opts) --- keymap("i", "", "", opts) --- keymap("i", "", "", opts) +-- disable arrow keys +keymap("n", "", "", opts) +keymap("n", "", "", opts) +keymap("n", "", "", opts) +keymap("n", "", "", opts) +keymap("i", "", "", opts) +keymap("i", "", "", opts) +keymap("i", "", "", opts) +keymap("i", "", "", opts) -- -- -- move through wrapped lines -- keymap("n", "j", "gj") @@ -181,5 +181,7 @@ keymap("n", "", "Bdelete!", opts) -- prefix = "" -- }) -- end +keymap("v", "lf", "'<,'>lua vim.lsp.buf.format{ async = true }", opts) +keymap("x", "lf", "'<,'>lua vim.lsp.buf.format{ async = true }", opts) -- -- otherkeymaps() diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua index 9e4cde6..17218d7 100644 --- a/lua/config/lazy.lua +++ b/lua/config/lazy.lua @@ -28,6 +28,9 @@ require("lazy").setup({ }, install = { colorscheme = { "tokyonight", "habamax" } }, checker = { enabled = true, notify = false }, -- automatically check for plugin updates + change_detection = { + notify = false, + }, performance = { rtp = { -- disable some rtp plugins diff --git a/lua/plugins/core.lua b/lua/plugins/core.lua index 494422c..afaa428 100644 --- a/lua/plugins/core.lua +++ b/lua/plugins/core.lua @@ -5,17 +5,4 @@ return { colorscheme = "catppuccin", }, }, - { - "folke/lazy.nvim", - priority = 10001, - opts = { - checker = { - notify = false, - }, - change_detection = { - enabled = false, - notify = false, - }, - }, - }, } diff --git a/lua/plugins/disabled.lua b/lua/plugins/disabled.lua index fd7136e..c03b8ea 100644 --- a/lua/plugins/disabled.lua +++ b/lua/plugins/disabled.lua @@ -6,5 +6,6 @@ return { { "rcarriga/nvim-notify", enabled = false }, { "ggandor/flit.nvim", enabled = false }, { "stevearc/dressing.nvim", enabled = false }, - -- { "folke/neodev.nvim", enabled = false }, + { "folke/neodev.nvim", enabled = false }, + { "nvim-neo-tree/neo-tree.nvim", enabled = false }, } diff --git a/lua/plugins/nvimtree.lua b/lua/plugins/nvimtree.lua new file mode 100644 index 0000000..e305828 --- /dev/null +++ b/lua/plugins/nvimtree.lua @@ -0,0 +1,8 @@ +return { + { + "nvim-tree/nvim-tree.lua", + }, + { + "nvim-tree/nvim-web-devicons", + }, +}