feat(nvim): migrate gemini-cli plugin to antigravity-cli - #189
Open
eezzekl wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #180
Related to #173
Summary
jonroosevelt/gemini-cli.nvimwith its official successormceazy2700/antigravity-cli.nvim(Antigravity CLI, binaryagy). Google discontinued Gemini CLI on 2026-05-19 and stopped serving it on 2026-06-18.gemini.luawas never listed indisabled.lua, so despite the docs marking it "Disabled" it always loaded and calledrequire("gemini").setup()at startup, which triggered a blockingvim.fn.input()prompt on clean installs (setup()auto-runs fromplugin/gemini.vim, causing double execution and a startup-blocking prompt under lazy.nvim #173). The new spec is lazy-loaded viacmd/keysand is registered indisabled.lua.claudecode.nvimstays the only plugin enabled,antigravity-cli.nvimships withenabled = false.Type of change
Changes
GentlemanNvim/nvim/lua/plugins/gemini.luasetup()at startupGentlemanNvim/nvim/lua/plugins/antigravity.luacmd/keys,<leader>amappings mirroring the Claude Code panel,command = "agy", terminalposition = "left",size = 55(plugin default of 80 columns is too wide)GentlemanNvim/nvim/lua/plugins/disabled.luaantigravity-cli.nvimwithenabled = falseand documents how to switch it ondocs/ai-configuration.mdGentlemanNvim/nvim/lazy-lock.jsongemini-cli.nvimentry, addsantigravity-cli.nvimTest plan
XDG_CONFIG_HOME=<repo>/GentlemanNvim nvim --headless "+Lazy! sync" +qasetup()auto-runs fromplugin/gemini.vim, causing double execution and a startup-blocking prompt under lazy.nvim #173 symptom is gone)enabled = falsethe plugin does not load, matching every other non-default AI plugin in this configenabled = truein a local Neovim config: the terminal toggle, ask, resume, model-select and diff accept/deny commands all work againstagy1.1.4Notes
<leader>ais shared by all AI plugins in this config, so Antigravity is intentionally shipped disabled — only one AI plugin should be enabled at a time, asdocs/ai-configuration.mdstates.type:*label myself. Based on the commit type and the#173startup regression it fixes,type:buglooks correct — happy to follow whatever you prefer.