From 1d92852c4a390fde69465b76b4fdbd5fb3298d46 Mon Sep 17 00:00:00 2001 From: Daniel Heras Quesada Date: Sat, 25 Jul 2026 19:57:14 +0200 Subject: [PATCH] feat: more qol with some fixes --- lazy-lock.json | 14 ++++---- lua/config/remap.lua | 9 +++++ lua/plugins/opts/treesitter.lua | 58 ++++++++++++++++----------------- lua/plugins/qol.lua | 4 ++- 4 files changed, 47 insertions(+), 38 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 6b8bd3d..671466b 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -1,16 +1,15 @@ { "aerial.nvim": { "branch": "master", "commit": "28fe6e822ae344544c379d60fcb13c9519a1f08a" }, "auto-session": { "branch": "main", "commit": "6cde3874a9283c2db55627acca5f28e4fa402320" }, - "autoclose.nvim": { "branch": "main", "commit": "bafd0368716216fa6a7bb2a43ecd889b44efdb46" }, + "autoclose.nvim": { "branch": "main", "commit": "27063904b2238ce7867e430885b6abcfb08357ea" }, "blink.cmp": { "branch": "main", "commit": "78336bc89ee5365633bcf754d93df01678b5c08f" }, "blueprints": { "branch": "main", "commit": "e5825c30464f98e77e8b5ffb88d59fd98df6c802" }, "bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" }, "conform.nvim": { "branch": "master", "commit": "619363c30309d29ffa631e67c8183f2a72caa373" }, - "diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" }, "flash.nvim": { "branch": "main", "commit": "b6346946d10d07998efee029fb0f7a593806d0cd" }, "friendly-snippets": { "branch": "main", "commit": "6cd7280adead7f586db6fccbd15d2cac7e2188b9" }, - "gitsigns.nvim": { "branch": "main", "commit": "eb60cc7b94c46005237fd34170d76f3a089a90aa" }, - "grug-far.nvim": { "branch": "main", "commit": "beb2ce490b72048c587e8a3d919cba1b4608bb04" }, + "gitsigns.nvim": { "branch": "main", "commit": "31d6fb2d618bca1482b9f274751ead5f03461408" }, + "grug-far.nvim": { "branch": "main", "commit": "0f6a5d0d7a70659b11bbcd6b3673ee0fe61b6024" }, "gruvbox.nvim": { "branch": "main", "commit": "154eb5ff5b96d0641307113fa385eaf0d36d9796" }, "indent-blankline.nvim": { "branch": "master", "commit": "d28a3f70721c79e3c5f6693057ae929f3d9c0a03" }, "komau.vim": { "branch": "master", "commit": "f7c7a00c0cbb67ed269b565a4ada47d96dce14f3" }, @@ -19,17 +18,16 @@ "mason.nvim": { "branch": "main", "commit": "2a6940af80375532e5e9e7c1f2fc6319a1b7a69d" }, "mini.clue": { "branch": "main", "commit": "4d506660e7030a15748ab073bebfe3ed03884000" }, "mini.icons": { "branch": "main", "commit": "98faae31e9be1cc054ae63485e58ceb185efcad0" }, - "multiple-cursors.nvim": { "branch": "main", "commit": "1ac15d047a4b265cc2389957bcc56ee561b29e02" }, - "neo-tree.nvim": { "branch": "main", "commit": "b01ee1769144c4491ea44bc329cb84040e9793be" }, + "neo-tree.nvim": { "branch": "main", "commit": "a4deaea4811b677067f515fb535b47ed3002c849" }, "no-neck-pain.nvim": { "branch": "main", "commit": "434fed70b1ee553f8f27e6da7b3899f71b3c6f99" }, "nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" }, - "nvim-colorizer.lua": { "branch": "master", "commit": "149fbd9f5e25511b0a8bad3ccecd43d1bc584f86" }, + "nvim-colorizer.lua": { "branch": "master", "commit": "72a05f62c52241bc7441c820eb53946f92b2e6a4" }, "nvim-lint": { "branch": "master", "commit": "a219b2c9e5b4765e5c845aba119dad55806fcaf1" }, "nvim-scrollbar": { "branch": "main", "commit": "f8e87b96cd6362ef8579be456afee3b38fd7e2a8" }, "nvim-treesitter": { "branch": "master", "commit": "cf12346a3414fa1b06af75c79faebe7f76df080a" }, "nvim-treesitter-context": { "branch": "master", "commit": "b311b30818951d01f7b4bf650521b868b3fece16" }, "nvim-ts-autotag": { "branch": "main", "commit": "88c1453db4ba7dd24131086fe51fdf74e587d275" }, - "nvim-web-devicons": { "branch": "master", "commit": "dad71387de386a946b123079d0e53f23028f3abd" }, + "nvim-web-devicons": { "branch": "master", "commit": "2ae6958df7ced50baac5035cec0c15799eedfbf7" }, "nvim-window-picker": { "branch": "main", "commit": "6382540b2ae5de6c793d4aa2e3fe6dbb518505ec" }, "overseer.nvim": { "branch": "master", "commit": "a93d9f6d6defdac4bcd6d2c8ba988650e42e0a0e" }, "plenary.nvim": { "branch": "master", "commit": "74b06c6c75e4eeb3108ec01852001636d85a932b" }, diff --git a/lua/config/remap.lua b/lua/config/remap.lua index 10fb78a..0436368 100644 --- a/lua/config/remap.lua +++ b/lua/config/remap.lua @@ -151,6 +151,9 @@ map("n", "fh", " Telescope help_tags ", { desc = "Help page" }) map("n", "fo", " Telescope oldfiles ", { desc = "Fild old files" }) map("n", "fz", " Telescope current_buffer_fuzzy_find ", { desc = "Find in current buffer" }) map("n", "", " Telescope current_buffer_fuzzy_find ", { desc = "Find in current buffer" }) +map("n", "ft", function() + Snacks.picker("todo_comments") +end, { desc = "Help page" }) -- Flash search (better "f") map({ "n", "x", "o" }, "s", function() @@ -303,6 +306,12 @@ map("t", "", "wincmd k", { desc = "Go to Upper Window" }) map("t", "", "wincmd l", { desc = "Go to Right Window" }) map("t", "", "close", { desc = "Hide Terminal" }) map("t", "", "close", { desc = "which_key_ignore" }) +map("t", "", function() + Snacks.terminal.open() +end, { desc = "Open new terminal" }) +map("n", "tt", function() + Snacks.terminal() +end, { desc = "Toggle terminal" }) --------------------------------------------------------------------------- diff --git a/lua/plugins/opts/treesitter.lua b/lua/plugins/opts/treesitter.lua index 1c5b9ae..3e2bcaf 100644 --- a/lua/plugins/opts/treesitter.lua +++ b/lua/plugins/opts/treesitter.lua @@ -1,35 +1,35 @@ local options = { - auto_install = true, - ensure_installed = { - "lua", - "css", - "scss", - "html", - "json", - "tsx", - "bash", - "javascript", - "json", - "markdown", - "markdown_inline", - "python", - "query", - "regex", - "typescript", - "styled", - "vim", - "yaml", - "rust", - "ruby", - "c", - }, + auto_install = true, + ensure_installed = { + "lua", + "css", + "scss", + "html", + "json", + "tsx", + "bash", + "javascript", + "json", + "markdown", + "markdown_inline", + "python", + "query", + "regex", + "typescript", + "styled", + "vim", + "yaml", + "rust", + "ruby", + "c", + }, - highlight = { - enable = true, - use_languagetree = true, - }, + highlight = { + enable = true, + use_languagetree = true, + }, - indent = { enable = true }, + indent = { enable = true }, } return options diff --git a/lua/plugins/qol.lua b/lua/plugins/qol.lua index 84b7291..5d5f352 100644 --- a/lua/plugins/qol.lua +++ b/lua/plugins/qol.lua @@ -35,9 +35,11 @@ local config = { indent = { enabled = false }, input = { enabled = false }, picker = { enabled = true }, - notifier = { enabled = false }, + notifier = { enabled = true }, + notify = { enabled = true }, quickfile = { enabled = false }, scope = { enabled = true }, + terminal = { enabled = true }, scroll = { enabled = true }, statuscolumn = { enabled = true }, words = { enabled = true },