feat(pickers): ctrl-r to refresh

This commit is contained in:
Barrett Ruth 2025-09-21 12:13:59 -04:00
parent 0dd145b71e
commit 0938b9bbd6
2 changed files with 4 additions and 0 deletions

View file

@ -63,6 +63,9 @@ local function contest_picker(platform)
return fzf.fzf_exec(entries, {
prompt = ('Select Contest (%s)> '):format(platform_display_name),
fzf_opts = {
['--header'] = 'ctrl-r: refresh',
},
actions = {
['default'] = function(selected)
if not selected or #selected == 0 then

View file

@ -64,6 +64,7 @@ local function contest_picker(opts, platform)
pickers
.new(opts, {
prompt_title = ('Select Contest (%s)'):format(platform_display_name),
results_title = '<C-r> refresh',
finder = finders.new_table({
results = contests,
entry_maker = function(entry)