Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: generated vimdoc #239

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 13 additions & 17 deletions doc/spectre.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ You may also need to install the following:
- BurntSushi/ripgrep <https://github.com/BurntSushi/ripgrep> (finder)
- devicons <https://github.com/kyazdani42/nvim-web-devicons> (icons)
- sed <https://www.gnu.org/software/sed/> (replace tool)
- trouble.nvim <https://github.com/folke/trouble.nvim> (improved quickfix list)


MACOS ~
Expand Down Expand Up @@ -214,6 +215,16 @@ default settings.
cmd = "<cmd>lua require('spectre').resume_last_search()<CR>",
desc = "repeat last search"
},
['select_template'] = {
map = '<leader>rp',
cmd = "<cmd>lua require('spectre.actions').select_template()<CR>",
desc = 'pick template',
},
['delete_line'] = {
map = '<leader>rd',
cmd = "<cmd>lua require('spectre.actions').run_delete_line()<CR>",
desc = 'delete line',
}
-- you can put your mapping here it only use normal mode
},
find_engine = {
Expand Down Expand Up @@ -273,7 +284,6 @@ default settings.
icon="[I]",
desc="ignore case"
},
warn = true,
}
},
-- call rust code by nvim-oxi to replace
Expand All @@ -291,7 +301,6 @@ default settings.
['sd'] = {
cmd = "sd",
options = { },
warn = true,
},
},
default = {
Expand All @@ -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
Expand All @@ -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 ~
Expand Down Expand Up @@ -400,7 +396,7 @@ Install `oxi`:
cmd = "oxi"
}
}
)
})
<


Expand Down