Void Linux workstation powered by niri, Fish and NeoVim. Contains scripts, browser extensions, custom XBPS packages, and typst plugins. git.anhgelus.world/anhgelus/dotfiles
void niri fish neovim nvim vim dotfiles linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(config): theme for bat and use delta for git

+50 -1
+26
.gitconfig
··· 1 + [core] 2 + pager = delta 3 + [interactive] 4 + diffFilter = delta --color-only 5 + [commit] 6 + gpgsign = true 7 + [gpg] 8 + format = ssh 9 + [advice] 10 + addIgnoredFile = false 11 + [init] 12 + defaultBranch = main 13 + [push] 14 + autoSetupRemote = true 15 + [merge] 16 + conflictStyle = zdiff3 17 + [filter "lfs"] 18 + process = git-lfs filter-process 19 + required = true 20 + clean = git-lfs clean -- %f 21 + smudge = git-lfs smudge -- %f 22 + [delta] 23 + navigate = true # use n and N to move between diff sections 24 + line-numbers = true 25 + hyperlinks = true 26 + features = diff-so-fancy
+20 -1
config/fish/config.fish
··· 44 44 # other 45 45 set -gx EDITOR "nvim" 46 46 47 + # fzf 48 + 49 + ## open in nvim with <C-o> 50 + set -x fzf_directory_opts --bind "ctrl-o:execute($EDITOR {} &> /dev/tty)" 51 + 52 + ## fix theme 53 + function apply_theme --on-variable fish_terminal_color_theme 54 + switch $fish_terminal_color_theme 55 + case "light" 56 + set -gx BAT_THEME "Catppuccin Latte" 57 + case "dark" 58 + set -gx BAT_THEME "Catppuccin Macchiato" 59 + end 60 + end 61 + 62 + ## fix display 63 + set -x fzf_diff_highlighter delta --config "$HOME/.config/fish/delta.toml" 64 + 65 + ## custom bindings 47 66 fzf_configure_bindings --directory=\cf --git_log=\cg --git_status=\cs 48 67 49 68 # yazi ··· 58 77 59 78 # alias 60 79 alias ll "eza -lh --icons=auto --sort=name --group-directories-first" 61 - alias lla "ll -a" 80 + alias lla "eza -lha --icons=auto --sort=name --group-directories-first" 62 81 alias rg "rg -C 3"
+4
config/fish/delta.toml
··· 1 + [delta] 2 + width = 20 3 + paging = never 4 + features = diff-so-fancy