diff --git a/home/.config/nvim/init.lua b/home/.config/nvim/init.lua index f28f0b3..b5dca5f 100644 --- a/home/.config/nvim/init.lua +++ b/home/.config/nvim/init.lua @@ -35,6 +35,9 @@ npx @johnnymorganz/stylua-bin ./init.lua --[[ cfg_options: See `:help vim.o` ]] +-- Enable faster startup by caching compiled Lua modules +vim.loader.enable() + -- Raise a dialog asking if you wish to save the current file(s) vim.o.confirm = true @@ -172,10 +175,10 @@ vim.keymap.set('n', 't', ':vsw:terminali', { silent = true, vim.keymap.set('t', ';;', '', { silent = true, desc = 'Escape terminal mode' }) -- Window managment -vim.keymap.set('n', 'q', ':bp|bd#', { desc = 'Close current buffer' }) +vim.keymap.set('n', 'q', ':bp|bd#', { silent = true, desc = 'Close current buffer' }) vim.keymap.set('n', 'w', '', { remap = true, desc = 'Alias for Ctrl + w' }) vim.keymap.set('n', 'k', 'w', { remap = true, desc = 'Jump to the next window' }) -vim.keymap.set('n', 'K', ':vsw', { desc = 'Split window to the right' }) +vim.keymap.set('n', 'K', ':vsw', { silent = true, desc = 'Split window to the right' }) -- Navigation vim.keymap.set('n', 'h', '', { desc = 'Back' }) diff --git a/home/.config/nvim/lazy-lock.json b/home/.config/nvim/lazy-lock.json index 1640e1d..5c888fe 100644 --- a/home/.config/nvim/lazy-lock.json +++ b/home/.config/nvim/lazy-lock.json @@ -2,7 +2,7 @@ "Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" }, "cmp-nvim-lsp": { "branch": "main", "commit": "cbc7b02bb99fae35cb42f514762b89b5126651ef" }, "cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" }, - "desolate.nvim": { "branch": "develop", "commit": "a281949d98972ea08bee651bf95ede70b378c500" }, + "desolate.nvim": { "branch": "develop", "commit": "d8e9f7dfb9ded595b71c67ca11db96b6e44c33d7" }, "fzf": { "branch": "master", "commit": "838ac7554bdbae2f457f2c4969e1b38f1c28c946" }, "fzf-lua": { "branch": "main", "commit": "988416cc782dfe28bff3f0da9b8c943b236cd86a" }, "gitsigns.nvim": { "branch": "main", "commit": "25050e4ed39e628282831d4cbecb1850454ce915" }, @@ -15,7 +15,7 @@ "mason.nvim": { "branch": "main", "commit": "16ba83bfc8a25f52bb545134f5bee082b195c460" }, "nvim-cmp": { "branch": "main", "commit": "a1d504892f2bc56c2e79b65c6faded2fd21f3eca" }, "nvim-colorizer.lua": { "branch": "master", "commit": "664c0b7cea1de71f8b65dfe951b7996fc3e6ccde" }, - "nvim-lspconfig": { "branch": "master", "commit": "07dff35e7c95288861200b788ef32d6103f107f0" }, + "nvim-lspconfig": { "branch": "master", "commit": "229b79051b380377664edc4cbd534930154921a1" }, "nvim-treesitter": { "branch": "main", "commit": "4916d6592ede8c07973490d9322f187e07dfefac" }, "onedark.nvim": { "branch": "master", "commit": "df4792accde9db0043121f32628bcf8e645d9aea" }, "vim-repeat": { "branch": "master", "commit": "65846025c15494983dafe5e3b46c8f88ab2e9635" },