A while ago, I was trying to fix a bug in the
fzf plugin where it would treat multi-line code blocks as individual lines. The solution proposed by a user was to use
cat to print out the history file and
sed to clean up the results. This worked fine, since the history file was plain text.