From 4fd021f3a02327141b3bda8f7d74ba5e1c147c61 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Sun, 21 Jul 2024 07:45:31 +0800 Subject: [PATCH] chore(global): update configs and readme as usual Additions: * Zed editor config files (keymaps and user-wide settings) Changed: * add glab CLI to .tool-versions for asdf * some small config changes on btop * update user-wide VS Code settings * small edits to README Signed-off-by: Andrei Jiroh Halili --- .config/btop/btop.conf | 2 +- .config/zed/keymap.json | 14 ++++++++++++++ .config/zed/settings.json | 35 +++++++++++++++++++++++++++++++++++ .tool-versions | 1 + .vscode/settings.json | 12 ++++++------ README.md | 3 ++- 6 files changed, 59 insertions(+), 8 deletions(-) create mode 100644 .config/zed/keymap.json create mode 100644 .config/zed/settings.json diff --git a/.config/btop/btop.conf b/.config/btop/btop.conf index 13a0358..b05ab93 100644 --- a/.config/btop/btop.conf +++ b/.config/btop/btop.conf @@ -72,7 +72,7 @@ proc_colors = True proc_gradient = True #* If process cpu usage should be of the core it's running on or usage of the total available cpu power. -proc_per_core = False +proc_per_core = True #* Show process memory as bytes instead of percent. proc_mem_bytes = True diff --git a/.config/zed/keymap.json b/.config/zed/keymap.json new file mode 100644 index 0000000..5fd4c3d --- /dev/null +++ b/.config/zed/keymap.json @@ -0,0 +1,14 @@ +[ + { + "bindings": { + "ctrl-alt-q": "zed::Quit" // Ctrl-Q is reserved for Nano + } + }, + { + "context": "Workspace", + "bindings": { + "ctrl-shift-s": "workspace::Save", + "ctrl-alt-s": "workspace::SaveAs" + } + } +] diff --git a/.config/zed/settings.json b/.config/zed/settings.json new file mode 100644 index 0000000..bef5a61 --- /dev/null +++ b/.config/zed/settings.json @@ -0,0 +1,35 @@ +// Zed settings +// +// For information on how to configure Zed, see the Zed +// documentation: https://zed.dev/docs/configuring-zed +// +// To see all of Zed's default settings without changing your +// custom settings, run the `open default settings` command +// from the command palette or from `Zed` application menu. +{ + "features": { + "inline_completion_provider": "none", + "copilot": false + }, + "ui_font_size": 16, + "buffer_font_size": 16, + "theme": { + "mode": "dark", + "light": "One Light", + "dark": "Github Dark" + }, + "git": { + "git_gutter": "tracked_files", + "gutter_debounce": 5, + "inline_blame": { + "enabled": true, + "delay_ms": 3000 + } + }, + "toolbar": { + "breadcrumbs": true, + "selections_menu": true, + "quick_actions": true + }, + "base_keymap": "VSCode" +} diff --git a/.tool-versions b/.tool-versions index 6fd652b..4f44138 100644 --- a/.tool-versions +++ b/.tool-versions @@ -2,3 +2,4 @@ nodejs 20.12.2 deno 1.44.1 direnv 2.34.0 python 3.12.3 +glab 1.43.0 diff --git a/.vscode/settings.json b/.vscode/settings.json index fde9340..206014f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -23,14 +23,14 @@ { "ignoreCase": true, "prefix": "LAUNCHPAD-", - "url": "https://mau.dev/andreijiroh.dev/launchpad/-/issues/" - }, - { - "prefix": "IN-LAUNCHPAD-", - "url": "https://ajhalili2006.jetbrains.space/p/launchpad/issues/" + "url": "https://youtrack.andreijiroh.xyz/issue/LAUNCHPAD-" } ], "gitlens.defaultTimeFormat": "HH:mm", "gitlens.defaultDateShortFormat": "YYYY-MM-D", - "gitlens.defaultDateFormat": "YYYY-MM-D HH:mm" + "gitlens.defaultDateFormat": "YYYY-MM-D HH:mm", + "shellcheck.customArgs": [ + "--external-sources", + "-x" + ] } \ No newline at end of file diff --git a/README.md b/README.md index ace3c1d..55c9e66 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,8 @@ to fix it in, built from scratch and based on