update dotfiles

This commit is contained in:
JasterV 2026-03-08 19:50:42 +01:00
parent 53269f8290
commit beb470344d
8 changed files with 60 additions and 78 deletions

View file

@ -1,4 +1,3 @@
[[keyboard.bindings]]
action = "Paste"
key = "Paste"
@ -45,69 +44,10 @@ mods = "Shift"
[general]
live_config_reload = true
working_directory = "None"
import = ["~/.config/alacritty/themes/themes/gruvbox_dark.toml"]
[terminal]
[colors.bright]
black = "#666666"
blue = "#7aa6da"
cyan = "#70c0b1"
green = "#b9ca4a"
magenta = "#c397d8"
red = "#d54e53"
white = "#eaeaea"
yellow = "#e7c547"
[colors.cursor]
cursor = "CellForeground"
text = "CellBackground"
[colors.footer_bar]
background = "#c5c8c6"
foreground = "#1d1f21"
[colors.hints.end]
background = "#1d1f21"
foreground = "#e9ff5e"
[colors.hints.start]
background = "#e9ff5e"
foreground = "#1d1f21"
[colors.line_indicator]
background = "None"
foreground = "None"
[colors.normal]
black = "#1d1f21"
blue = "#81a2be"
cyan = "#8abeb7"
green = "#b5bd68"
magenta = "#b294bb"
red = "#cc6666"
white = "#c5c8c6"
yellow = "#f0c674"
[colors.primary]
background = "#1d1f21"
foreground = "#c5c8c6"
[colors.search.focused_match]
background = "#000000"
foreground = "#ffffff"
[colors.search.matches]
background = "#ffffff"
foreground = "#000000"
[colors.selection]
background = "CellForeground"
text = "CellBackground"
[colors.vi_mode_cursor]
cursor = "CellForeground"
text = "CellBackground"
[cursor]
blink_interval = 750
blink_timeout = 5
@ -154,7 +94,7 @@ program = "/bin/zsh"
[window]
decorations = "full"
opacity = 0.9
opacity = 1
startup_mode = "Windowed"
title = "Alacritty"

@ -0,0 +1 @@
Subproject commit f82c742634b5e840731dd7c609e95231917681a5

View file

@ -1,4 +1,4 @@
theme = "catppuccin_macchiato"
theme = "gruvbox"
[editor]
line-number = "relative"
@ -53,16 +53,13 @@ mode.insert = "INSERT"
mode.select = "SELECT"
[keys.normal]
# Copy to both registers always
y = ["yank_to_clipboard", "yank"]
C-s = ":w" # (save file)
C-r = ":config-reload"
# Open yazi at current buffer's directory
C-y = ":open %sh{ zellij run -fc -x 10%% -y 10%% --width 80%% --height 80%% -- sh -c \"yazi --chooser-file=/proc/$$/fd/1 -- %{buffer_name}; kill -s CONT $$\"; kill -s STOP $$ }"
# Open lazygit
C-m = [":new", ":insert-output lazygit", ":buffer-close!", ":redraw"]
C-m = [":open", ":insert-output lazygit", ":buffer-close!", ":redraw"]
C-j = [
"move_next_word_end",

View file

@ -1,3 +1,10 @@
[language-server.rust-analyzer.config]
cargo = { allFeatures = true }
[language-server.vscode-css]
command = "css-languageserver"
args = ["--stdio"]
[language-server.codebook]
command = "codebook-lsp"
args = ["serve"]
@ -14,6 +21,13 @@ args = ["--stdio"]
command = "tailwindcss-language-server"
args = ["--stdio"]
[language-server.expert]
command = "/home/victor-martinez/Documents/expert/apps/expert/burrito_out/expert_linux_amd64"
args = ["--stdio"]
[language-server.lexical]
command = "/home/victor-martinez/Documents/lexical/_build/dev/package/lexical/bin/start_lexical.sh"
[[language]]
name = "typescript"
language-servers = ["typescript-language-server"]
@ -38,6 +52,11 @@ language-servers = ["typescript-language-server"]
formatter = { command = "prettier", args = ["--parser", "typescript"] }
auto-format = true
[[language]]
name = "elm"
language-servers = ["elm-language-server"]
auto-format = true
[[language]]
name = "astro"
scope = "source.astro"
@ -45,7 +64,12 @@ injection-regex = "astro"
file-types = ["astro"]
language-servers = ["astro-ls", "codebook"]
roots = ["package.json", "astro.config.mjs"]
formatter = { command = "prettier", args = ["--plugin", "prettier-plugin-astro", "--parser", "astro"] }
formatter = { command = "prettier", args = [
"--plugin",
"prettier-plugin-astro",
"--parser",
"astro",
] }
auto-format = true
[[language]]
@ -56,13 +80,13 @@ language-servers = ["codebook"]
name = "json"
formatter = { command = "prettier", args = ["--parser", "json"] }
auto-format = true
language-servers = [ "jsonls" ] # Link the language server to the jsonc language
language-servers = ["jsonls"]
[[language]]
name = "jsonc"
formatter = { command = "prettier", args = ["--parser", "json"] }
auto-format = true
language-servers = [ "jsonls" ] # Link the language server to the jsonc language
language-servers = ["jsonls"]
[[language]]
name = "html"
@ -72,18 +96,23 @@ auto-format = true
[[language]]
name = "css"
formatter = { command = 'prettier', args = ["--parser", "css"] }
language-servers = ["vscode-css"]
auto-format = true
[[language]]
name = "scss"
formatter = { command = 'prettier', args = ["--parser", "css"] }
auto-format = true
language-servers = ["vscode-css"]
[[language]]
name = "elixir"
language-servers = ["elixir-ls"]
language-servers = ["expert"]
auto-format = true
[[language]]
name = "heex"
language-id = "phoenix-heex"
language-servers = ["tailwind-heex", "elixir-ls"]
file-types = ["mjml", "mjml.eex", "heex", "eex"]
language-servers = ["tailwind-heex", "expert"]
auto-format = true
[[language]]

1
.config/helix/runtime Symbolic link
View file

@ -0,0 +1 @@
/home/victor-martinez/Documents/helix/runtime

View file

@ -1,10 +1,12 @@
[tools]
bun = "latest"
elixir = "latest"
elixir = "1.19.4-otp-27"
elixir-ls = "latest"
erlang = "latest"
erlang = "27"
fwup = "latest"
gleam = "latest"
go = "latest"
just = "latest"
neovim = "0.10.4"
node = "latest"
python = "latest"

View file

@ -304,7 +304,7 @@ copy_on_select false
// Path to the default editor to use to edit pane scrollbuffer
scrollback_editor "$EDITOR"
session_name "jaster"
// session_name "jaster"
attach_to_session true
auto_layout true

14
.zshrc
View file

@ -39,7 +39,7 @@ else
export EDITOR='hx'
fi
ZSH_THEME="half-life"
ZSH_THEME="crunch"
plugins=(git rust sudo docker docker-compose fzf)
@ -83,3 +83,15 @@ autoload -Uz compinit && compinit
# Add zsh functions
fpath+=${ZDOTDIR:-~}/.zsh_functions
# ZVM
export ZVM_INSTALL="$HOME/.zvm/self"
export PATH="$PATH:$HOME/.zvm/bin"
export PATH="$PATH:$ZVM_INSTALL/"
# opencode
export PATH=/home/victor-martinez/.opencode/bin:$PATH
# Added by flyctl installer
export FLYCTL_INSTALL="/home/victor-martinez/.fly"
export PATH="$FLYCTL_INSTALL/bin:$PATH"