Skip to content
Open
Show file tree
Hide file tree
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
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,10 @@ local defaults = {
--- For default configs, see https://github.com/folke/sidekick.nvim/tree/main/sk/cli
---@type table<string, sidekick.cli.Config|{}>
tools = {
aider = {},
amazon_q = {},
claude = {},
aider = {},
amazon_q = {},
antigravity = {},
claude = {},
codex = {},
copilot = {},
crush = {},
Expand Down Expand Up @@ -718,6 +719,7 @@ Sidekick preconfigures popular AI CLIs. Run `:checkhealth sidekick` to see which
| ----------------------------------------------------------- | -------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| [`aider`](https://github.com/Aider-AI/aider) | AI pair programmer | `pip install aider-chat` or `pipx install aider-chat` |
| [`amazon_q`](https://github.com/aws/amazon-q-developer-cli) | Amazon Q Developer | [Install guide](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/command-line-getting-started-installing.html) |
| [`antigravity`](https://antigravity.google/docs/cli-overview) | Google Antigravity | See [documentation](https://antigravity.google/docs/cli-overview) |
| [`claude`](https://github.com/anthropics/claude-code) | Claude Code CLI | [See Claude Code docs](https://code.claude.com/docs/en/overview#get-started)
| [`codex`](https://github.com/openai/codex) | OpenAI Codex CLI | See [OpenAI docs](https://github.com/openai/codex) |
| [`copilot`](https://github.com/github/copilot-cli) | GitHub Copilot CLI | `npm install -g @githubnext/github-copilot-cli` |
Expand Down
28 changes: 16 additions & 12 deletions doc/sidekick.nvim.txt
Original file line number Diff line number Diff line change
Expand Up @@ -335,18 +335,19 @@ Default settings ~
--- For default configs, see https://github.com/folke/sidekick.nvim/tree/main/sk/cli
---@type table<string, sidekick.cli.Config|{}>
tools = {
aider = {},
amazon_q = {},
claude = {},
codex = {},
copilot = {},
crush = {},
cursor = {},
gemini = {},
grok = {},
opencode = {},
pi = {},
qwen = {},
aider = {},
amazon_q = {},
antigravity = {},
claude = {},
codex = {},
copilot = {},
crush = {},
cursor = {},
gemini = {},
grok = {},
opencode = {},
pi = {},
qwen = {},
},
--- Add custom context. See `lua/sidekick/context/init.lua`
---@type table<string, sidekick.context.Fn>
Expand Down Expand Up @@ -637,6 +638,9 @@ which ones are installed.
amazon_q Amazon Q Install guide
Developer

antigravity Google See documentation
Antigravity

claude Claude Code See Claude Code docs
CLI

Expand Down
25 changes: 13 additions & 12 deletions lua/sidekick/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -104,18 +104,19 @@ local defaults = {
-- stylua: ignore
---@type table<string, sidekick.cli.Config|{}>
tools = {
aider = {},
amazon_q = {},
claude = {},
codex = {},
copilot = {},
crush = {},
cursor = {},
gemini = {},
grok = {},
opencode = {},
pi = {},
qwen = {},
aider = {},
amazon_q = {},
antigravity = {},
claude = {},
codex = {},
copilot = {},
crush = {},
cursor = {},
gemini = {},
grok = {},
opencode = {},
pi = {},
qwen = {},
},
--- Add custom context. See `lua/sidekick/context/init.lua`
---@type table<string, sidekick.context.Fn>
Expand Down
13 changes: 13 additions & 0 deletions sk/cli/antigravity.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---@type sidekick.cli.Config
return {
cmd = { "agy" },
is_proc = "\\<agy\\>",
url = "https://antigravity.google/docs/cli-overview",
resume = { "--continue" },
continue = { "--continue" },
format = function(text)
require("sidekick.text").transform(text, function(str)
return str:find("[^%w/_%.%-]") and ('"' .. str .. '"') or str
end, "SidekickLocFile")
end,
}
8 changes: 8 additions & 0 deletions tests/fixtures/keymaps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ local keymaps = {
["dd"] = "Delete the current line (vi normal mode)",
["u"] = "Undo last change (vi normal mode)",
},
antigravity = {
["<Esc>"] = "Close any open dialog or suggestion popup",
["<C-c>"] = "Cancel the ongoing request or generation",
["<C-d>"] = "Exit the Antigravity CLI",
["\\<CR>"] = "Insert a newline in the prompt without sending",
["<Up>"] = "Cycle to previous input in history",
["<Down>"] = "Cycle to next input in history",
},
claude = {
["<Esc><Esc>"] = "Rewind the code and conversation to a previous checkpoint",
["<Tab>"] = "Toggle extended thinking mode On/Off",
Expand Down