From fd11a886879f34c549304964976006752465ed6d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 8 Jul 2024 11:14:38 +0000 Subject: [PATCH] chore: generated vimdoc --- doc/spectre.txt | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/doc/spectre.txt b/doc/spectre.txt index f9fbb98..9cdc379 100644 --- a/doc/spectre.txt +++ b/doc/spectre.txt @@ -51,6 +51,7 @@ You may also need to install the following: - BurntSushi/ripgrep (finder) - devicons (icons) - sed (replace tool) +- trouble.nvim (improved quickfix list) MACOS ~ @@ -214,6 +215,16 @@ default settings. cmd = "lua require('spectre').resume_last_search()", desc = "repeat last search" }, + ['select_template'] = { + map = 'rp', + cmd = "lua require('spectre.actions').select_template()", + desc = 'pick template', + }, + ['delete_line'] = { + map = 'rd', + cmd = "lua require('spectre.actions').run_delete_line()", + desc = 'delete line', + } -- you can put your mapping here it only use normal mode }, find_engine = { @@ -273,7 +284,6 @@ default settings. icon="[I]", desc="ignore case" }, - warn = true, } }, -- call rust code by nvim-oxi to replace @@ -291,7 +301,6 @@ default settings. ['sd'] = { cmd = "sd", options = { }, - warn = true, }, }, default = { @@ -306,6 +315,7 @@ default settings. } }, replace_vim_cmd = "cdo", + use_trouble_qf = false, -- use trouble.nvim as quickfix list is_open_target_win = true, --open file on opener window is_insert_mode = false, -- start open panel on is_insert_mode is_block_ui_break = false -- mapping backspace and enter key to avoid ui break @@ -316,20 +326,6 @@ default settings. } }) < -Warnings are emitted based on your operating system and chosen executables. If -you find one of these warnings to be in error, you may silence it by setting -the respective `warn` key. For example, to silence GNU sed warnings: - -> - require('spectre').setup({ - replace_engine={ - ['sed']={ - warn = false, - } - }, - } - }) -> CUSTOM FUNCTIONS ~