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 <ajhalili2006@andreijiroh.xyz>
This commit is contained in:
Andrei Jiroh Halili 2024-07-21 07:45:31 +08:00
parent ba8ae86d55
commit 4fd021f3a0
No known key found for this signature in database
GPG key ID: 67BFC91B3DA12BE8
6 changed files with 59 additions and 8 deletions

View file

@ -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

14
.config/zed/keymap.json Normal file
View file

@ -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"
}
}
]

35
.config/zed/settings.json Normal file
View file

@ -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"
}

View file

@ -2,3 +2,4 @@ nodejs 20.12.2
deno 1.44.1
direnv 2.34.0
python 3.12.3
glab 1.43.0

12
.vscode/settings.json vendored
View file

@ -23,14 +23,14 @@
{
"ignoreCase": true,
"prefix": "LAUNCHPAD-",
"url": "https://mau.dev/andreijiroh.dev/launchpad/-/issues/<num>"
},
{
"prefix": "IN-LAUNCHPAD-",
"url": "https://ajhalili2006.jetbrains.space/p/launchpad/issues/<num>"
"url": "https://youtrack.andreijiroh.xyz/issue/LAUNCHPAD-<num>"
}
],
"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"
]
}

View file

@ -6,7 +6,8 @@ to fix it in, built from scratch and based on <https://drewdevault.com/2019/12/3
## Quick deploy
```bash
curl -fsSL https://scripts.andreijiroh.eu.org/dotfiles/setup.sh | bash -
# Working on it soon.
curl -fsSL https://scripts.andreijiroh.xyz/dotfiles/setup.sh | bash -
```
## Available Git mirrors