Skip to content

Using Mac's native Quick Look function as default previewer in nnn #1996

Closed Answered by pa-0
pa-0 asked this question in Q&A
Discussion options

You must be logged in to vote

Had to unmark the previous answer, because that opens Quick Look in DEBUG mode, which means any Quick Look extensions you have installed, i.e. Markdown Preview, will not actually work. Better solution:

This is possible now using a Shortcut to avoid having to open Quick Look in DEBUG-mode.

Run Shortcuts from the command line

  1. Add the 'Show Input in Quick Look' action to a new Shortcut.

  2. Then from terminal, you can pass files to the shortcut like this:

    shortcuts run "Quick Look" -i ~/Desktop/preview.jpg


Probably stating the obvious here, but for easier access you could always name the shortcut "QL" instead of "Quick Look" so that calling it from terminal takes less typing (shortcuts …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@pa-0
Comment options

@pa-0
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by pa-0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants