docs: add IvyWorkspaceSymbols to the readme

This commit is contained in:
Ade Attwood 2023-03-01 20:37:56 +00:00
parent c930fb1594
commit 47193a0f4f
2 changed files with 10 additions and 9 deletions

View file

@ -50,12 +50,13 @@ error: linker `cc` not found
A command can be run that will launch the completion UI
| Command | Key Map | Description |
| ---------- | ----------- | ------------------------------------------------------ |
| IvyFd | \<leader\>p | Find files in your project with the fd cli file finder |
| IvyAg | \<leader\>/ | Find content in files using the silver searcher |
| IvyBuffers | \<leader\>b | Search though open buffers |
| IvyLines | | Search the lines in the current buffer |
| Command | Key Map | Description |
| ------------------ | ----------- | ----------------------------------------------------------- |
| IvyFd | \<leader\>p | Find files in your project with the fd cli file finder |
| IvyAg | \<leader\>/ | Find content in files using the silver searcher |
| IvyBuffers | \<leader\>b | Search though open buffers |
| IvyLines | | Search the lines in the current buffer |
| IvyWorkspaceSymbol | | Search for workspace symbols using the lsp workspace/symbol |
### Actions

View file

@ -30,9 +30,9 @@ local function items(input)
end
local lsp_workspace_symbols = {
name = "WorkspaceSymbol",
command = "IvyWorkspaceSymbol",
description = "Search for workspace ymbol using the lsp workspace/symbol",
name = "WorkspaceSymbols",
command = "IvyWorkspaceSymbols",
description = "Search for workspace symbols using the lsp workspace/symbol",
items = items,
callback = utils.vimgrep_action(),
}