Compare commits

...

13 Commits

12 changed files with 66 additions and 22 deletions

3
.gitmodules vendored
View File

@@ -4,3 +4,6 @@
[submodule "alacritty-theme"] [submodule "alacritty-theme"]
path = alacritty-theme path = alacritty-theme
url = git@github.com:alacritty/alacritty-theme url = git@github.com:alacritty/alacritty-theme
[submodule "yazi/flavors"]
path = yazi/flavors
url = https://github.com/yazi-rs/flavors.git

View File

@@ -1,3 +1,4 @@
[general]
import = ["/home/daniel/.config/alacritty/themes/{{alacritty_theme}}.toml"] import = ["/home/daniel/.config/alacritty/themes/{{alacritty_theme}}.toml"]
live_config_reload = true live_config_reload = true

View File

@@ -47,6 +47,10 @@ mimeapps = { source = "mimeapps.list", target = ".config/mimeapps.list" }
# navi # navi
navi = { source = "navi", target = ".config/navi" } navi = { source = "navi", target = ".config/navi" }
# yazi
yazi_flavors = { source = "yazi/flavors", target = ".config/yazi/flavors", ignore = [ "*.md", "scripts", "LICENSE", "*.json", "*.yaml", ".git", ".github", ".gitignore" ] }
yazi_theme = { source = "yazi/theme.toml", target = ".config/yazi/theme.toml" }
# zellij # zellij
zellij = { source = "zellij", target = ".config/zellij" } zellij = { source = "zellij", target = ".config/zellij" }

View File

@@ -1,5 +1,6 @@
theme = "dark" theme = "dark"
alacritty_theme = "Base16-Default-Dark" alacritty_theme = "Catppuccin-Macchiato"
helix_theme = "base16_default_dark" helix_theme = "catppuccin_mocha"
zellij_theme = "one-half-dark" zellij_theme = "catppuccin-macchiato"
bat_theme = "base16" bat_theme = "Catppuccin Mocha"
yazi_flavor = "catppuccin-mocha"

View File

@@ -11,3 +11,4 @@ tmp/**/*
.irbrc .irbrc
.pryrc .pryrc
.psqlrc .psqlrc
.helix/

View File

@@ -1,13 +1,11 @@
( (
focus_right: Some(( code: Char('l'), modifiers: ( bits: 0,),)), move_left: Some(( code: Char('h'), modifiers: "")),
focus_left: Some(( code: Char('h'), modifiers: ( bits: 0,),)), move_right: Some(( code: Char('l'), modifiers: "")),
focus_above: Some(( code: Char('k'), modifiers: ( bits: 0,),)), move_up: Some(( code: Char('k'), modifiers: "")),
focus_below: Some(( code: Char('j'), modifiers: ( bits: 0,),)), move_down: Some(( code: Char('j'), modifiers: "")),
move_left: Some(( code: Char('h'), modifiers: ( bits: 0,),)),
move_right: Some(( code: Char('l'), modifiers: ( bits: 0,),)),
move_up: Some(( code: Char('k'), modifiers: ( bits: 0,),)),
move_down: Some(( code: Char('j'), modifiers: ( bits: 0,),)),
open_help: Some(( code: F(1), modifiers: ( bits: 0,),)), stash_open: Some(( code: Char('l'), modifiers: "")),
) open_help: Some(( code: F(1), modifiers: "")),
status_reset_item: Some(( code: Char('U'), modifiers: "SHIFT")),
)

View File

@@ -5,6 +5,7 @@ color-modes = true
cursorline = true cursorline = true
indent-guides.render = true indent-guides.render = true
true-color = true true-color = true
text-width = 100
[editor.cursor-shape] [editor.cursor-shape]
insert = "bar" insert = "bar"

View File

@@ -1,4 +1,34 @@
[[language]] [[language]]
name = "env" name = "env"
scope = "text.env" scope = "text.env"
file-types = ["test", "development", "staging", "production", "example", "env"] file-types = ["test", "local", "development", "staging", "production", "example", "env"]
[language-server.rust-analyzer.config.check]
command = "clippy"
# It is recommended to place the necessary configurations below inside a project's
# .helix/languages.toml directory
#
# [language-server.copilot]
# command = "bun"
# args = ["run", "/path/to/helix-gpt/src/app.ts", "--handler", "copilot"]
#
# [[language]]
# name = "rust"
# language-servers = ["rust-analyzer", "copilot"]
#
# [[language]]
# name = "go"
# language-servers = ["gopls", "golangci-lint-lsp", "copilot"]
#
# [[language]]
# name = "typescript"
# language-servers = ["typescript-language-server", "copilot"]
#
# [[language]]
# name = "javascript"
# language-servers = ["typescript-language-server", "copilot"]
#
# [[language]]
# name = "ruby"
# language-servers = ["ruby-lsp", "solargraph", "copilot"]

View File

@@ -1,5 +1,6 @@
theme = "light" theme = "light"
alacritty_theme = "Catppuccin-Latte" alacritty_theme = "Catppuccin-Latte"
helix_theme = "catppuccin-latte" helix_theme = "catppuccin_latte"
zellij_theme = "catppuccin-latte" zellij_theme = "catppuccin-latte"
bat_theme = "Catppuccin Latte" bat_theme = "Catppuccin Latte"
yazi_flavor = "catppuccin-latte"

1
yazi/flavors Submodule

Submodule yazi/flavors added at 68326b4ca4

3
yazi/theme.toml Normal file
View File

@@ -0,0 +1,3 @@
[flavor]
dark = "{{yazi_flavor}}"
light = "{{yazi_flavor}}"

View File

@@ -1,18 +1,18 @@
# exa # eza
if (( $+commands[exa] )); then if (( $+commands[eza] )); then
# exa explorer # eza explorer
exex() { exex() {
local depth=1 local depth=1
local old_depth=0 local old_depth=0
local min_depth=1 local min_depth=1
local max_depth=3 local max_depth=3
local exa_opts=("--color=always" "--git" "--icons" "-F" "-T") local eza_opts=("--color=always" "--git" "--git-ignore" "--icons" "-F" "-T")
while true; do while true; do
if [[ $depth -ne $old_depth ]]; then if [[ $depth -ne $old_depth ]]; then
local old_depth=$depth local old_depth=$depth
clear clear
exa $exa_opts -L$depth eza $eza_opts -L$depth
fi fi
read -sk key read -sk key