Welcome to Vifm Q&A, where you can ask questions about using Vifm. Registration is optional, anonymous posts are moderated. E-mail and GitHub logins are enabled.
0 votes
in vifm by

How to provide ':select' command with string pattern? This piece of code doesn't work:

let $MY_PATTERN = input('Select pattern: ') | select $MY_PATTERN

1 Answer

0 votes
by
 
Best answer

Use :execute command:

execute 'select' input('Select pattern: ')
...