Skip to content

(mini.pick) - how to pick files from specific directory? #642

Closed Answered by echasnovski
mainendra asked this question in Q&A
Discussion options

You must be logged in to vote

Every source can have "current working directory". So with builtin.files() you can do MiniPick.builtin.files(nil, { source = { cwd = '../foo/bar' } }).

If you plan to do that often interactively, you can modify files in registry and use :Pick files cwd='../foo/bar'.

Replies: 1 comment

Comment options

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