1
0
mirror of https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git synced 2025-09-15 09:45:58 +03:00

fish scripts update

changelog:
- refactored fzf scripts
- nullify unused\remapped fzf bindings
- `list-op.fish` hotfix 3
- added `hexyl` package to the system
This commit is contained in:
xnm
2024-10-13 23:07:17 +03:00
parent 6b3fa50ae4
commit 59ea19d35d
10 changed files with 57 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
function fzf-file-preview-widget
commandline -i (fd --hidden --no-ignore --exclude .git --exclude .direnv | fzf --height 40% --preview-window=right:40% --reverse --preview "test -f {}; and file {} | grep -q text; and bat --color=always --style=numbers --line-range=:500 --wrap=auto {}; or echo 'Preview unavailable for binary files and directories'")
commandline -i (fd --hidden --no-ignore --exclude .git --exclude .direnv | fzf --height 40% --preview-window=right:40% --reverse --preview 'switch-preview {}')
commandline -f repaint
end