New answers tagged

0

A rough sketch with lots of bugs, probably. The function names could use some work, too. function Templates(ext) abort return glob(printf('~/Documents/Library/**/*.%s', a:ext), v:false, v:true) endfunction function ChooseTemplateAll() abort const ext = fnamemodify(@%, ':e') call popup_menu(Templates(ext), #{callback: 'SelectedTemplate', title: '...


Top 50 recent answers are included