From beb470344dd581760163e6ae99a6129cd42d54b1 Mon Sep 17 00:00:00 2001 From: JasterV <49537445+JasterV@users.noreply.github.com> Date: Sun, 8 Mar 2026 19:50:42 +0100 Subject: [PATCH] update dotfiles --- .config/alacritty/alacritty.toml | 64 +------------------------------- .config/alacritty/themes | 1 + .config/helix/config.toml | 7 +--- .config/helix/languages.toml | 43 +++++++++++++++++---- .config/helix/runtime | 1 + .config/mise/config.toml | 6 ++- .config/zellij/config.kdl | 2 +- .zshrc | 14 ++++++- 8 files changed, 60 insertions(+), 78 deletions(-) create mode 160000 .config/alacritty/themes create mode 120000 .config/helix/runtime diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml index ca309b3..8686ba4 100644 --- a/.config/alacritty/alacritty.toml +++ b/.config/alacritty/alacritty.toml @@ -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" diff --git a/.config/alacritty/themes b/.config/alacritty/themes new file mode 160000 index 0000000..f82c742 --- /dev/null +++ b/.config/alacritty/themes @@ -0,0 +1 @@ +Subproject commit f82c742634b5e840731dd7c609e95231917681a5 diff --git a/.config/helix/config.toml b/.config/helix/config.toml index 69fb59d..09d2766 100644 --- a/.config/helix/config.toml +++ b/.config/helix/config.toml @@ -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", diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml index 926d59c..355030c 100644 --- a/.config/helix/languages.toml +++ b/.config/helix/languages.toml @@ -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]] diff --git a/.config/helix/runtime b/.config/helix/runtime new file mode 120000 index 0000000..0342648 --- /dev/null +++ b/.config/helix/runtime @@ -0,0 +1 @@ +/home/victor-martinez/Documents/helix/runtime \ No newline at end of file diff --git a/.config/mise/config.toml b/.config/mise/config.toml index a2e62e9..dd9fc47 100644 --- a/.config/mise/config.toml +++ b/.config/mise/config.toml @@ -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" diff --git a/.config/zellij/config.kdl b/.config/zellij/config.kdl index 4232389..9ba3af1 100644 --- a/.config/zellij/config.kdl +++ b/.config/zellij/config.kdl @@ -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 diff --git a/.zshrc b/.zshrc index 3573240..d4e7ce2 100644 --- a/.zshrc +++ b/.zshrc @@ -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"