Summary Files Commits Branches @commit @diff @stats
path: root / lua
diff options
context:
space:
mode:
Commitb46d882a9532e565d0a70ed8541393a46e12c306 (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-11-07 18:21:48 +0200
Committer
 Syndamia <kamen@syndamia.com>
2025-11-07 18:21:48 +0200
Files9cbcc1638005430e9302e87a91e92ef09606384c /lua
anderson-b46d882a9532e565d0a70ed8541393a46e12c306.tar
anderson-b46d882a9532e565d0a70ed8541393a46e12c306.tar.gz
anderson-b46d882a9532e565d0a70ed8541393a46e12c306.zip
Parent9d9062ba0b3d4f515e3858f95a45739688bab02a (diff)
feat(plugins): Add telescope-based search plugin
2 files changed, 18 insertions, 0 deletions
-rw-r--r--lua/mappings.lua2
-rw-r--r--lua/plugins/default.lua16
diff --git a/lua/mappings.lua b/lua/mappings.lua
index 7ddae81..b716a97 100644
--- a/lua/mappings.lua
+++ b/lua/mappings.lua
@@ -105,6 +105,8 @@ map.n.F6(function()
vim.cmd("set spell!")
end)
+map.n.Control_f(":lua require('search').open()<CR>", { silent = true })
+
--[=[ Abbreviations ]=]--
vim.cmd("cnoreabbrev x wa \\| qa!")
diff --git a/lua/plugins/default.lua b/lua/plugins/default.lua
index 7f3c3cb..1c7871f 100644
--- a/lua/plugins/default.lua
+++ b/lua/plugins/default.lua
@@ -130,4 +130,20 @@ return {
},
},
{ "noir-lang/noir-nvim", lazy = false },
+ {
+ "FabianWirth/search.nvim",
+ dependencies = { "nvim-telescope/telescope.nvim" },
+ config = true,
+ opts = {
+ append_tabs = {
+ {
+ "Commits",
+ require('telescope.builtin').git_commits,
+ available = function()
+ return vim.fn.isdirectory(".git") == 1
+ end
+ },
+ },
+ },
+ },
}