diff --git a/.local/bin/scripts/f b/.local/bin/scripts/f new file mode 100755 index 0000000..4a50d15 --- /dev/null +++ b/.local/bin/scripts/f @@ -0,0 +1,6 @@ +#!/bin/sh + +# Search for files in local directory and edit selected in default editor. + +find . -type f | fzf --preview 'cat {}' --height 25 --layout reverse | \ + xargs -r "$EDITOR"