Open
Description
Is your feature request related to a problem? Please describe.
Let us consider that I want to create a navi cheat sheet to print a line of a file using sed
.
% sed
# Print a specific line from a file
sed -n <number>p <file>
$ file: find . -maxdepth 1 -type f | cut -c3-
$ number: export aux=$(wc -l <file> | cut -d ' ' -f 1) --- --header "This file contains $aux pages"
Describe the solution you'd like
My idea is that the aux
variable becomes available to fzf
so that it prints out a header like
This file contains 618 pages
Describe alternatives you've considered
I tried some syntax such as <file>
, $file
, etc. But it seems that fzf
is insensitive to any variable declared by navi
.