feat(fd): added config

This commit is contained in:
Sergio Laín 2023-12-09 00:27:40 +01:00
parent 2e151d75ff
commit 885acc5a5d
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
5 changed files with 46 additions and 3 deletions

3
.config/fd/.github/README.md vendored Normal file
View file

@ -0,0 +1,3 @@
<div align="center">
<a href=""><img src="./title.png"></a>
</div>

BIN
.config/fd/.github/title.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

40
.config/fd/ignore Normal file
View file

@ -0,0 +1,40 @@
# vim: filetype=gitignore
#───────────────────────────────────────────────────────────────────────────────
**/*.app/*
**/*.pxd/*
Juegos/**
# git
.gitignore
.git
# INFO files
*INFO*
# general
LICENSE
.editorconfig
# node
package.json
.prettierrc
.eslintrc
.eslintrc.json
package-lock.json
versions.json
manifest.json
tsconfig.json
jsconfig.json
esbuild.config.mjs
biome.json
# python
__init__.py
pyproject.toml
requirements.txt
# nvim-plugins
stylua.toml
# vscode
.vscode

View file

@ -54,15 +54,14 @@ set -xg LANG es_ES.UTF-8
set -xg LC_ALL es_ES.UTF-8
# FZF
set -xg FZF_DEFAULT_COMMAND fd --hidden --exclude .git
set -xg FZF_DEFAULT_COMMAND fd
set -xg FZF_DEFAULT_OPTS "--height=90% --layout=reverse --info=inline --border --margin=1 --padding=1 \
--color=bg+:#363a4f,bg:#24273a,spinner:#f4dbd6,hl:#ed8796 \
--color=fg:#cad3f5,header:#ed8796,info:#c6a0f6,pointer:#f4dbd6 \
--color=marker:#f4dbd6,fg+:#cad3f5,prompt:#c6a0f6,hl+:#ed8796 \
--bind 'ctrl-y:execute-silent(printf {} | cut -f 2- | wl-copy --trim-newline)'"
set -xg fzf_preview_dir_cmd eza --long --header --icons --all --color=always --group-directories-first --hyperlink
set -xg fzf_fd_opts --hidden --exclude=.git --color=always
set -xg fzf_diff_highlighter delta --paging=never --width=20
set -xg fzf_fd_opts --hidden --color=always
# Other
set -x THEFUCK_OVERRIDDEN_ALIASES 'vi, yarn, eza, vim, neofetch, onefetch, cat, tty-clock, dua i'

1
.github/README.md vendored
View file

@ -76,6 +76,7 @@ Here is some _small_ information about my setup:
- **CD Replacement**: [zoxide](https://github.com/ajeetdsouza/zoxide) :sparkles:
- **LS Replacement**: [eza](https://github.com/eza-community/eza)
- **Cat Replacement**: [bat](https://github.com/sharkdp/bat) ([Config](../.config/bat/)) :gear:
- **Find Replacement**: [fd](https://github.com/sharkdp/fd) ([Config](../.config/fd/)) :gear:
- **Help Pages**: [Navi](https://github.com/denisidoro/navi) / [TLDR](https://tldr.sh/) ([Config](../.config/navi/)) :gear:
- **Fuzzy File Finder**: [fzf](https://github.com/junegunn/fzf) :sparkles:
- **Fuzzy Word Finder**: [Ripgrep](https://github.com/BurntSushi/ripgrep) ([Config](../.config/rg/)) :gear: