-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch.lua
More file actions
84 lines (83 loc) · 1.81 KB
/
Copy pathsearch.lua
File metadata and controls
84 lines (83 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
--- File and text search
---
--- Author: @lararosekelley
--- Last Modified: August 4th, 2026
return {
-- fuzzy finder
{
"ibhagwan/fzf-lua",
event = "VeryLazy",
dependencies = {
"nvim-tree/nvim-web-devicons",
{
"JasinskiRafal/viu.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
"m00qek/baleia.nvim",
},
opts = {},
},
},
opts = {},
},
-- full-text search across the recoll index (PDFs, office docs, mail, notes)
{
"lararosekelley/recoll.nvim",
dependencies = { "ibhagwan/fzf-lua" },
cmd = { "Recoll", "RecollDir", "RecollIndex", "RecollIndexStop" },
opts = {},
keys = {
{ "<leader>sr", "<cmd>Recoll<cr>", desc = "Recoll Search" },
{ "<leader>sR", "<cmd>RecollDir<cr>", desc = "Recoll Search (cwd)" },
{ "<leader>si", "<cmd>RecollIndex<cr>", desc = "Recoll Update Index" },
},
},
-- better f and t motions
{
"folke/flash.nvim",
event = "VeryLazy",
opts = {},
keys = {
{
"s",
mode = { "n", "x", "o" },
function()
require("flash").jump()
end,
desc = "Flash",
},
{
"S",
mode = { "n", "o", "x" },
function()
require("flash").treesitter()
end,
desc = "Flash Treesitter",
},
{
"r",
mode = "o",
function()
require("flash").remote()
end,
desc = "Remote Flash",
},
{
"R",
mode = { "o", "x" },
function()
require("flash").treesitter_search()
end,
desc = "Treesitter Search",
},
{
"<c-s>",
mode = { "c" },
function()
require("flash").toggle()
end,
desc = "Toggle Flash Search",
},
},
},
}