1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-04 23:40:32 +00:00

Compare commits

..

7 commits

7 changed files with 25 additions and 32 deletions

View file

@ -1,19 +1,15 @@
{
"typescript": {
},
"json": {
},
"markdown": {
},
"toml": {
},
"includes": ["**/*.{ts,tsx,js,jsx,json,md,toml}"],
"includes": ["**/*.{json,md,toml}"],
"excludes": [
"**/node_modules",
"**/*-lock.json"
],
"plugins": [
"https://plugins.dprint.dev/typescript-0.87.1.wasm",
"https://plugins.dprint.dev/json-0.17.4.wasm",
"https://plugins.dprint.dev/markdown-0.16.1.wasm",
"https://plugins.dprint.dev/toml-0.5.4.wasm"

View file

@ -42,6 +42,13 @@ C-b = ":buffer-close"
esc = ["collapse_selection", "keep_primary_selection"]
[keys.normal.space]
f = "file_picker_in_current_directory"
F = "no_op"
p = "no_op"
P = "no_op"
y = "no_op"
[keys.insert]
esc = ["collapse_selection", "normal_mode"]

View file

@ -18,11 +18,6 @@ roots = ["pyproject.toml"]
formatter = { command = "black", args = ["-q", "-"] }
auto-format = true
[[language]]
name = "bash"
formatter = { command = "beautysh", args = ["-"] }
auto-format = true
[[language]]
name = "markdown"
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "md"] }
@ -33,11 +28,6 @@ name = "json"
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "json"] }
auto-format = true
[[language]]
name = "javascript"
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "js"] }
auto-format = true
[[language]]
name = "toml"
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "toml"] }
@ -47,16 +37,20 @@ auto-format = true
name = "html"
formatter = { command = "djlint", args = ["--reformat", "--quiet", "--configuration", "/home/mo8it/.config/djlintrc.json", "-"] }
auto-format = true
# language-server = { language-id = "html", command = "tailwindcss-language-server", args = ["--stdio"] }
# roots = ["tailwind.config.js"]
# config = {}
# [[language]]
# name = "css"
# language-server = { language-id = "css", command = "tailwindcss-language-server", args = ["--stdio"] }
# roots = ["tailwind.config.js"]
# config = {}
[[language]]
name = "julia"
auto-format = true
[language-server.typescript-language-server]
command = "npx"
args = ["typescript-language-server", "--stdio"]
config.hostInfo = "helix"
[[language]]
name = "javascript"
auto-format = true
[[language]]
name = "typescript"
auto-format = true

View file

@ -29,7 +29,7 @@ layout {
tab name="bg" split_direction="vertical"{
pane {
command "podman"
args "run" "-it" "--tz" "Europe/Berlin" "-e" "TZ=Europe/Berlin" "-e" "PGTZ=Europe/Berlin" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/cs_server_db:/var/lib/postgresql/data:Z" "--env-file" "crates/server/.env" "docker.io/library/postgres:15-alpine"
args "run" "-it" "--tz" "Europe/Berlin" "-e" "TZ=Europe/Berlin" "-e" "PGTZ=Europe/Berlin" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/cs_server_db:/var/lib/postgresql/data:Z" "--env-file" "crates/server/.env" "docker.io/library/postgres:15"
}
}
}

View file

@ -29,7 +29,7 @@ layout {
tab name="bg" split_direction="vertical"{
pane {
command "podman"
args "run" "-it" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/info_monitor_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:15-alpine"
args "run" "-it" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/info_monitor_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:15"
}
pane {
command "npx"

View file

@ -29,7 +29,7 @@ layout {
tab name="bg" split_direction="vertical"{
pane {
command "podman"
args "run" "-it" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/oxiform_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:15-alpine"
args "run" "-it" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/oxiform_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:15"
}
pane {
command "npx"

View file

@ -29,12 +29,8 @@ layout {
tab name="bg" split_direction="vertical"{
pane {
command "podman"
args "run" "-it" "--tz" "Europe/Berlin" "-e" "TZ=Europe/Berlin" "-e" "PGTZ=Europe/Berlin" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/oxitraffic_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:15-alpine"
args "run" "-it" "--name" "oxitraffic-pg" "--tz" "Europe/Berlin" "-e" "TZ=Europe/Berlin" "-e" "PGTZ=Europe/Berlin" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/oxitraffic_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:16"
}
pane {
command "just"
args "tailwind"
}
}
}