Re: custom complete function is not found

2010-02-20 Thread hni
Thanks a lot, you are very helpful. This works great apart from the little quirk that it will show the entire command command line in the popup menu, i.e. it doesn't show only the tag I want to complete, but instead it show all tags that have been entered so far. But I think I can live with that.

Re: custom complete function is not found

2010-02-19 Thread hni
Hi Tom, thank you, it works. I feel a bit stupid now! On a related note, do you know how I can get completion for more than just the first argument? I.e the first term I enter can be completed but if I hit space and want to enter another term, it will not be completed. There does not seem to be a

custom complete function is not found

2010-02-19 Thread hni
Hi I have written the following custom complete function function! NM_list_all_tags(A,L,P) return system('notmuch search-tags') endfunction for use with this function: function! s:NM_show_add_tag() let tags = input('Select tag(s)', '', 'custom,NM_list_all_tags()')