dotfiles with stow
This commit is contained in:
8
config/.scripts/rfs.sh
Executable file
8
config/.scripts/rfs.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
rg -uu --color=always --line-number --no-heading --smart-case "${*:3}" "$1" | tr -d '\r' |
|
||||
fzf-tmux --cycle -p 80%,90% --ansi \
|
||||
--color "hl:-1:underline,hl+:-1:underline:reverse" \
|
||||
--delimiter : \
|
||||
--preview "bat --theme='base16-256' --color=always $1 --highlight-line {1}" \
|
||||
--bind "enter:become(echo \"$2\" '{1}')" \
|
||||
--preview-window 'right,55%,+{1}+3/3,~3' \
|
||||
|
||||
Reference in New Issue
Block a user