samedamci 27f2c685ed
Add bat config with colorscheme based on my NeoVim
Also edit 'f' script - use bat instead of cat.
Unfortunetly I can't set this colors 1:1. 😥
2020-05-18 13:15:23 +02:00

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"