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

Add placeholder expression {+} to preview window #254

Closed
vredesbyyrd opened this issue Jan 17, 2020 · 1 comment
Closed

Add placeholder expression {+} to preview window #254

vredesbyyrd opened this issue Jan 17, 2020 · 1 comment

Comments

@vredesbyyrd
Copy link

Really enjoying Skim, thanks for sharing this awesome tool.

One option I made use of from fzf allowed for the following...

Screenshot from 2020-01-17 14-31-24

fzf doc explains the preview window placeholder expression, +, with the following:

A placeholder expression starting with + flag will be replaced to the space-separated
list of the selected lines (or the current line if no selection was made) individually
quoted.

For my particular use case I am writing a small utility for the buku bookmark manager. I would like to use sk to display a list of tags, and use the preview window to indicate all selected (toggled) lines, as shown in the fzf screenshot above.

If its possible to port this option it would be a great addition to sk!

Thanks for your time.

lotabout added a commit that referenced this issue Feb 3, 2020
fix #254 support `{+}` in preview and execute
@vredesbyyrd
Copy link
Author

Thanks for implementing this feature, works great :)

makovich pushed a commit to makovich/skim that referenced this issue May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants