Skip to content

Commit 4497fef

Browse files
authored
Merge pull request #239 from nvim-pack/bot/vimdoc/master
chore: generated vimdoc
2 parents 99b90de + 4cfb6ff commit 4497fef

1 file changed

Lines changed: 13 additions & 17 deletions

File tree

doc/spectre.txt

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ You may also need to install the following:
5151
- BurntSushi/ripgrep <https://github.com/BurntSushi/ripgrep> (finder)
5252
- devicons <https://github.com/kyazdani42/nvim-web-devicons> (icons)
5353
- sed <https://www.gnu.org/software/sed/> (replace tool)
54+
- trouble.nvim <https://github.com/folke/trouble.nvim> (improved quickfix list)
5455

5556

5657
MACOS ~
@@ -214,6 +215,16 @@ default settings.
214215
cmd = "<cmd>lua require('spectre').resume_last_search()<CR>",
215216
desc = "repeat last search"
216217
},
218+
['select_template'] = {
219+
map = '<leader>rp',
220+
cmd = "<cmd>lua require('spectre.actions').select_template()<CR>",
221+
desc = 'pick template',
222+
},
223+
['delete_line'] = {
224+
map = '<leader>rd',
225+
cmd = "<cmd>lua require('spectre.actions').run_delete_line()<CR>",
226+
desc = 'delete line',
227+
}
217228
-- you can put your mapping here it only use normal mode
218229
},
219230
find_engine = {
@@ -273,7 +284,6 @@ default settings.
273284
icon="[I]",
274285
desc="ignore case"
275286
},
276-
warn = true,
277287
}
278288
},
279289
-- call rust code by nvim-oxi to replace
@@ -291,7 +301,6 @@ default settings.
291301
['sd'] = {
292302
cmd = "sd",
293303
options = { },
294-
warn = true,
295304
},
296305
},
297306
default = {
@@ -306,6 +315,7 @@ default settings.
306315
}
307316
},
308317
replace_vim_cmd = "cdo",
318+
use_trouble_qf = false, -- use trouble.nvim as quickfix list
309319
is_open_target_win = true, --open file on opener window
310320
is_insert_mode = false, -- start open panel on is_insert_mode
311321
is_block_ui_break = false -- mapping backspace and enter key to avoid ui break
@@ -316,20 +326,6 @@ default settings.
316326
}
317327
})
318328
<
319-
Warnings are emitted based on your operating system and chosen executables. If
320-
you find one of these warnings to be in error, you may silence it by setting
321-
the respective `warn` key. For example, to silence GNU sed warnings:
322-
323-
>
324-
require('spectre').setup({
325-
replace_engine={
326-
['sed']={
327-
warn = false,
328-
}
329-
},
330-
}
331-
})
332-
>
333329

334330

335331
CUSTOM FUNCTIONS ~
@@ -400,7 +396,7 @@ Install `oxi`:
400396
cmd = "oxi"
401397
}
402398
}
403-
)
399+
})
404400
<
405401

406402

0 commit comments

Comments
 (0)