Wiktor Zykubek
eec986728c
Also edit 'f' script - use bat instead of cat.
Unfortunetly I can't set this colors 1:1. 😥
7 lines
180 B
Bash
Executable File
7 lines
180 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Search for files in local directory and edit selected in default editor.
|
|
|
|
find . -type f | fzf --preview 'bat {}' --height 25 --layout reverse | \
|
|
xargs -r "$EDITOR"
|