Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview window broken: no newlines #22

Open
stevenroose opened this issue Nov 17, 2022 · 0 comments
Open

Preview window broken: no newlines #22

stevenroose opened this issue Nov 17, 2022 · 0 comments

Comments

@stevenroose
Copy link

I just got a new system and copied me /home dir with it and the skim.vim preview window seems to be broken:

image

I've been digging a little bit into the codebase and I found this thing in bin/preview.sh:

DEFAULT_COMMAND="highlight -O ansi -l {} || coderay {} || rougify {} || cat {}"
CMD=${FZF_PREVIEW_COMMAND:-$DEFAULT_COMMAND}
CMD=${CMD//{\}/$(printf %q "$FILE")}

Am I supposed to have these commands on my system? highlight, coderay, rougify and cat? I have highlight and cat, but I don't have the other two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant