Skip to content

Instantly share code, notes, and snippets.

View davioliveira-dev's full-sized avatar
💙

Davi Oliveira davioliveira-dev

💙
  • Ceará, Brazil
View GitHub Profile
@davioliveira-dev
davioliveira-dev / convert.ts
Created July 3, 2025 15:51
Script to convert Vscode theme to Ghostty terminal theme
#!/usr/bin/env bun
import fs from "fs";
import { parse } from "jsonc-parser";
// Usage
// bun convert.ts <file>.jsonc <themne-name>.conf
// You get your jsonc file from Developer: Generate Color Theme from Current Settings on Vscode command pallete
if (process.argv.length < 3) {
console.error("Usage: convert.ts <vscode-theme.jsonc> [output.ghostty]");
// Zed keymap
//
// For information on binding keys, see the Zed
// documentation: https://zed.dev/docs/key-bindings
//
// To see the default key bindings run `zed: open default keymap`
// from the command palette.
[
{
"context": "Workspace",
@davioliveira-dev
davioliveira-dev / zed.json
Last active June 21, 2025 16:00
Zed config
{
"language_models": {
"copilot_chat": {
"api_url": "https://api.githubcopilot.com/chat/completions",
"auth_url": "https://api.github.com/copilot_internal/v2/token",
"models_url": "https://api.githubcopilot.com/models"
}
},
"agent": {
"default_model": {