diff --git a/lazy-lock.json b/lazy-lock.json index 87cfaf2..3856e86 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -3,7 +3,6 @@ "commander.nvim": { "branch": "main", "commit": "84101e8eb1613a72bbdec655b734f891d8a00694" }, "flash.nvim": { "branch": "main", "commit": "3c942666f115e2811e959eabbdd361a025db8b63" }, "friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" }, - "fzf-lua": { "branch": "main", "commit": "ac6a34ea39831ec71c14f72075facf377ea9a00d" }, "glance.nvim": { "branch": "master", "commit": "cb19b86349cbe634eec0ea768b9a27fdd6d24f34" }, "hurl.nvim": { "branch": "main", "commit": "bf00b4ee56dc8026dd7cd068236fb2c01bb1e307" }, "key-analyzer.nvim": { "branch": "main", "commit": "72d301fb8843c19d8e69e16e0a0b42256edc25cc" }, @@ -19,11 +18,11 @@ "none-ls.nvim": { "branch": "main", "commit": "a117163db44c256d53c3be8717f3e1a2a28e6299" }, "nui.nvim": { "branch": "main", "commit": "8d3bce9764e627b62b07424e0df77f680d47ffdb" }, "nvim-autopairs": { "branch": "master", "commit": "6522027785b305269fa17088395dfc0f456cedd2" }, - "nvim-treesitter": { "branch": "master", "commit": "da5825bf70cc2ea7eacd1e60c32c07baf19adeba" }, + "nvim-treesitter": { "branch": "master", "commit": "85168f15808d89b0222313652b9d2777eda3cb08" }, "nvim-web-devicons": { "branch": "master", "commit": "4c3a5848ee0b09ecdea73adcd2a689190aeb728c" }, "output-panel.nvim": { "branch": "main", "commit": "9979f9988acb35fd8e699d8b1fbc7aa17c9d8148" }, "plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" }, - "render-markdown.nvim": { "branch": "main", "commit": "c91fa46fc8d79f5577beac70a459f30ec17a60c2" }, + "render-markdown.nvim": { "branch": "main", "commit": "84d413b0c432adaeaf3dcaac646638bd99d06aa6" }, "schemastore.nvim": { "branch": "main", "commit": "d307d291f38678d064cb987112926df6d9134de3" }, "snacks.nvim": { "branch": "main", "commit": "bc0630e43be5699bb94dadc302c0d21615421d93" }, "telescope.nvim": { "branch": "master", "commit": "a4ed82509cecc56df1c7138920a1aeaf246c0ac5" }, diff --git a/lua/plugins/fzf-lua.lua b/lua/plugins/fzf-lua.lua deleted file mode 100644 index 4270a5c..0000000 --- a/lua/plugins/fzf-lua.lua +++ /dev/null @@ -1,12 +0,0 @@ -return { - "ibhagwan/fzf-lua", - dependencies = { "nvim-tree/nvim-web-devicons" }, - - opts = { - keymap = { - fzf = { - ["ctrl-q"] = "select-all+accept", - }, - }, - } -} diff --git a/lua/plugins/snacks.nvim.lua b/lua/plugins/snacks.nvim.lua index 125535f..d0e10a6 100644 --- a/lua/plugins/snacks.nvim.lua +++ b/lua/plugins/snacks.nvim.lua @@ -9,5 +9,6 @@ return { { indent = { enabled = true, only_scope = true, only_current = false }, git = { enabled = true }, bufdelete = { enabled = true }, + picker = { enabled = true } }, } } diff --git a/lua/plugins/which-key.nvim.lua b/lua/plugins/which-key.nvim.lua index e743f6f..efad597 100644 --- a/lua/plugins/which-key.nvim.lua +++ b/lua/plugins/which-key.nvim.lua @@ -19,24 +19,24 @@ return { { "", "Commander", desc = "Commander" }, - { "", "FzfLua git_files", desc = "Find git files" }, + { "", ":lua Snacks.picker.git_files()", desc = "Find git files" }, { ",", group = "Search" }, - { ",p", "FzfLua files", desc = "Files files" }, - { ",b", "FzfLua buffers", desc = "Buffer List" }, - { ",q", "FzfLua quickfix", desc = "Quickfix" }, - { ",c", "FzfLua command_history", desc = "Quickfix" }, + { ",p", ":lua Snacks.picker.files()", desc = "Files files" }, + { ",b", ":lua Snacks.picker.buffers()", desc = "Buffer List" }, + { ",q", ":lua Snacks.picker.qflist()", desc = "Quickfix" }, + { ",c", ":lua Snacks.picker.command_history()", desc = "Quickfix" }, { ",e", ":e **/*", desc = "Open with autocomplete" }, { ",f", ":find **/*", desc = "Find with autocomplete" }, { "p", group = "Search" }, - { "pc", "FzfLua git_commits", desc = "Git commits" }, - { "pf", "FzfLua git_bcommits", desc = "Git file history" }, - { "pb", "FzfLua git_branches", desc = "Git branches" }, - { "ph", "FzfLua git_statuscr>", desc = "Git status" }, + { "pc", ":lua Snacks.picker.git_log()", desc = "Git commits" }, + { "pf", ":lua Snacks.picker.git_log_file()", desc = "Git file history" }, + { "pb", ":lua Snacks.picker.git_branches()", desc = "Git branches" }, + { "ph", ":lua Snacks.picker.git_status()", desc = "Git status" }, { "ps", - "FzfLua live_grep", + ":lua Snacks.picker.grep()", desc = "Project search" },