From 8474997bc3f7bab55febabac9e8875a836efe608 Mon Sep 17 00:00:00 2001 From: kiskaadee Date: Thu, 29 Oct 2026 00:02:41 -0500 Subject: [PATCH] feat(home/desktop): configure Antigravity IDE fonts and tmux-style navigation - Add declarative settings.json with FiraCode Nerd Font and Vim mode - Add declarative keybindings.json with Ctrl+Space tmux-style leader chords: e: focus editor, t: focus terminal, c: focus agent chat, f: focus explorer - Link configuration files via Home Manager in home/desktop.nix --- home/config/antigravity-ide/keybindings.json | 18 ++++++++++++++++++ home/config/antigravity-ide/settings.json | 15 +++++++++++++++ home/desktop.nix | 4 ++++ 3 files changed, 37 insertions(+) create mode 100644 home/config/antigravity-ide/keybindings.json create mode 100644 home/config/antigravity-ide/settings.json diff --git a/home/config/antigravity-ide/keybindings.json b/home/config/antigravity-ide/keybindings.json new file mode 100644 index 0000000..8d73a8e --- /dev/null +++ b/home/config/antigravity-ide/keybindings.json @@ -0,0 +1,18 @@ +[ + { + "key": "ctrl+space e", + "command": "workbench.action.focusActiveEditorGroup" + }, + { + "key": "ctrl+space t", + "command": "workbench.action.terminal.focus" + }, + { + "key": "ctrl+space c", + "command": "antigravity.toggleChatFocus" + }, + { + "key": "ctrl+space f", + "command": "workbench.view.explorer" + } +] diff --git a/home/config/antigravity-ide/settings.json b/home/config/antigravity-ide/settings.json new file mode 100644 index 0000000..1abf288 --- /dev/null +++ b/home/config/antigravity-ide/settings.json @@ -0,0 +1,15 @@ +{ + "workbench.colorTheme": "GitHub Dark Colorblind (Beta)", + "terminal.integrated.fontFamily": "'FiraCode Nerd Font Mono', 'FiraCode Nerd Font', monospace", + "editor.fontFamily": "'FiraCode Nerd Font', monospace", + "editor.fontLigatures": true, + "vim.useSystemClipboard": true, + "vim.hlsearch": true, + "terminal.integrated.allowChords": true, + "terminal.integrated.commandsToSkipShell": [ + "workbench.action.focusActiveEditorGroup", + "workbench.action.terminal.focus", + "antigravity.toggleChatFocus", + "workbench.view.explorer" + ] +} diff --git a/home/desktop.nix b/home/desktop.nix index 0b5e2ad..ca4d19f 100644 --- a/home/desktop.nix +++ b/home/desktop.nix @@ -95,6 +95,10 @@ in home.file.".config/niri/config.kdl".source = ./config/niri/config.kdl; home.file.".config/niri/custom.kdl".source = ./config/niri/custom.kdl; + # Declarative configuration files for Antigravity IDE + home.file.".antigravity-ide/User/settings.json".source = ./config/antigravity-ide/settings.json; + home.file.".antigravity-ide/User/keybindings.json".source = ./config/antigravity-ide/keybindings.json; + # Systemd user session target for Niri window manager systemd.user.targets.niri-session = {