Hello Stephan,
Sorry for the late reply. I don't know if you are still interested in this but below are a few ideas.
`glob-select` already takes an argument so you should be able to map it as in your example:
map gs glob-select *.txt
If you don't want to map a predefined pattern, maybe you can use the `push` command to set the prompt for the command to avoid typing as follows:
map gs push :glob-select<space>
Alternatively, you might also be able to define a shell command to prompt for an argument and then call `glob-select` as a remote command.
Hope this helps,
Gokcehan