Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

IntelliJ IDEA Keybindings for Google Antigravity

Configure Google Antigravity IDE to use JetBrains IntelliJ IDEA keyboard shortcuts.

Quick Start

Option 1: Using AI Agent (Recommended)

Simply ask your AI coding assistant:

Checkout https://github.com/CodeAlive-AI/antigravity-jetbrains-keybindings and install these keybindings

Works with Claude Code, Cursor, Windsurf, and other AI-powered development tools.

Option 2: Manual Installation

  1. Copy the keybindings.json file from this repository
  2. Place it in your Antigravity User settings folder:
    • macOS: ~/Library/Application Support/Antigravity/User/keybindings.json
    • Windows: %APPDATA%\Antigravity\User\keybindings.json
    • Linux: ~/.config/Antigravity/User/keybindings.json
  3. Restart Antigravity

Option 3: One-liner (macOS/Linux)

curl -fsSL https://raw.githubusercontent.com/CodeAlive-AI/antigravity-jetbrains-keybindings/main/keybindings.json \
  -o "${HOME}/Library/Application Support/Antigravity/User/keybindings.json"

For Linux, replace the path with ~/.config/Antigravity/User/keybindings.json.

Features

  • 134 keybindings mapped from IntelliJ IDEA to Antigravity
  • Double Shift (Shift Shift) support for Search Everywhere
  • Proper when context clauses for accurate behavior
  • Based on the official vscode-intellij-idea-keybindings extension

Keyboard Shortcuts Reference

Search & Navigation

IntelliJ Shortcut Action Command
Shift Shift Search Everywhere workbench.action.quickOpen
Cmd+P Go to File workbench.action.quickOpen
Cmd+T Go to Symbol workbench.action.showAllSymbols
Shift+Cmd+O Go to Symbol in File workbench.action.gotoSymbol
Ctrl+G Go to Line workbench.action.gotoLine
F1 / Shift+Cmd+P Command Palette workbench.action.showCommands
Cmd+E Recent Files workbench.action.openRecent
Ctrl+- Navigate Back workbench.action.navigateBack
Ctrl+Shift+- Navigate Forward workbench.action.navigateForward
Cmd+F12 Go to Implementation editor.action.goToImplementation

Editing

IntelliJ Shortcut Action Command
Shift+Alt+Down Duplicate Line editor.action.copyLinesDownAction
Shift+Cmd+K Delete Line editor.action.deleteLines
Alt+Up Move Line Up editor.action.moveLinesUpAction
Alt+Down Move Line Down editor.action.moveLinesDownAction
Ctrl+J Join Lines editor.action.joinLines
Cmd+/ Toggle Line Comment editor.action.commentLine
Shift+Alt+A Toggle Block Comment editor.action.blockComment
Cmd+Enter Insert Line Below editor.action.insertLineAfter
Shift+Cmd+Enter Insert Line Above editor.action.insertLineBefore

Code Intelligence

IntelliJ Shortcut Action Command
Cmd+. Quick Fix editor.action.quickFix
F2 Rename editor.action.rename
Shift+Alt+F Format Document editor.action.formatDocument
Shift+Alt+O Organize Imports editor.action.organizeImports
Ctrl+Space Trigger Suggest editor.action.triggerSuggest
Cmd+I Trigger Suggest editor.action.triggerSuggest
Shift+Cmd+Space Parameter Hints editor.action.triggerParameterHints
Cmd+K Cmd+I Show Hover editor.action.showHover

Find & Replace

IntelliJ Shortcut Action Command
Shift+Cmd+F Find in Files workbench.action.findInFiles
Shift+Cmd+H Replace in Files workbench.action.replaceInFiles
Alt+Cmd+F Find and Replace editor.action.startFindReplaceAction
F3 / Cmd+G Find Next editor.action.nextMatchFindAction
Shift+F3 / Shift+Cmd+G Find Previous editor.action.previousMatchFindAction
Cmd+D Add Selection to Next Match editor.action.addSelectionToNextFindMatch
Shift+Cmd+L Select All Occurrences editor.action.selectHighlights
Shift+Alt+F12 Find References references-view.findReferences

Debugging

IntelliJ Shortcut Action Command
Ctrl+F5 Run Without Debugging workbench.action.debug.run
F5 Continue workbench.action.debug.continue
F9 Toggle Breakpoint editor.debug.action.toggleBreakpoint
F10 Step Over workbench.action.debug.stepOver
F11 Step Into workbench.action.debug.stepInto
Shift+F11 Step Out workbench.action.debug.stepOut
Shift+Cmd+D Debug View workbench.view.debug
Cmd+Shift+F8 Breakpoints View workbench.debug.action.focusBreakpointsView

Editor Management

IntelliJ Shortcut Action Command
Cmd+W Close Editor workbench.action.closeActiveEditor
Shift+Cmd+[ / Alt+Cmd+Left Previous Editor workbench.action.previousEditor
Shift+Cmd+] / Alt+Cmd+Right Next Editor workbench.action.nextEditor
Cmd+B Toggle Sidebar workbench.action.toggleSidebarVisibility
Shift+Cmd+E Explorer View workbench.view.explorer
Ctrl+Shift+G Source Control View workbench.view.scm
Shift+Cmd+M Problems View workbench.actions.view.problems
Ctrl+` Toggle Terminal workbench.action.terminal.toggleTerminal
Ctrl+Cmd+F Toggle Full Screen workbench.action.toggleFullScreen

Folding

IntelliJ Shortcut Action Command
Alt+Cmd+[ Fold editor.fold
Alt+Cmd+] Unfold editor.unfold
Cmd+K Cmd+[ Fold Recursively editor.foldRecursively
Cmd+K Cmd+] Unfold Recursively editor.unfoldRecursively
Cmd+K Cmd+0 Fold All editor.foldAll
Cmd+K Cmd+J Unfold All editor.unfoldAll

Other

IntelliJ Shortcut Action Command
Cmd+N New File workbench.action.files.newUntitledFile
Alt+Cmd+S Save All workbench.action.files.saveAll
Cmd+K Cmd+T Select Theme workbench.action.selectTheme
Cmd+K O Open in New Window workbench.action.files.showOpenedFileInNewWindow
Alt+Cmd+C Copy File Path copyFilePath
Cmd+K Cmd+R Git Revert git.revertSelectedRanges
Shift+Alt+H Show Call Hierarchy references-view.showCallHierarchy

CamelHumps Word Navigation

Some keybindings support CamelHumps navigation (moving by camelCase word parts). To enable this, add to your settings.json:

{
    "intellij-idea-keybindings.useCamelHumpsWords": true
}

This affects:

  • Alt+Left/Right - Move cursor by word/word part
  • Alt+Shift+Left/Right - Select by word/word part
  • Alt+Backspace/Delete - Delete word/word part

Differences from IntelliJ IDEA

Some IntelliJ features don't have direct equivalents in VS Code-based editors:

IntelliJ Feature Antigravity Alternative
Ctrl+Ctrl (Run Anything) Use Shift Shift or Cmd+P
Alt+Enter (Intentions) Cmd+. (Quick Fix)
Shift+F6 (Rename Refactor) F2 (Rename)
Ctrl+Alt+L (Reformat) Shift+Alt+F (Format Document)
Ctrl+Alt+O (Optimize Imports) Shift+Alt+O (Organize Imports)

Troubleshooting

Keybindings not working?

  1. Restart Antigravity after adding the keybindings file
  2. Check for conflicts: Cmd+K Cmd+S → search for the shortcut
  3. Ensure the file is valid JSON (no trailing commas, proper syntax)

Shift Shift not working?

The double-tap shortcut requires VS Code 1.60+. If it doesn't work:

  • Use Cmd+P as an alternative for Quick Open
  • Use F1 or Shift+Cmd+P for Command Palette

Want to customize?

Open Keyboard Shortcuts: Cmd+K Cmd+S

To disable a specific keybinding, add to your keybindings.json:

{
    "key": "shift shift",
    "command": "-workbench.action.quickOpen"
}

Credits

License

MIT License - see LICENSE for details.

About

IntelliJ IDEA keybindings for Google Antigravity IDE

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors