On Sun, Jan 7, 2024 at 8:30 AM Yegappan Lakshmanan <yegapp...@gmail.com> wrote:
> Hi all, > > On Thu, Jan 4, 2024 at 1:45 PM Christian Brabandt <cbli...@256bit.org> > wrote: > >> patch 9.1.0009: Cannot easily get the list of matches >> >> Commit: >> https://github.com/vim/vim/commit/f93b1c881a99fa847a1bafa71877d7e16f18e6ef >> Author: Yegappan Lakshmanan <yegap...@yahoo.com> >> Date: Thu Jan 4 22:28:46 2024 +0100 >> >> patch 9.1.0009: Cannot easily get the list of matches >> >> Problem: Cannot easily get the list of matches >> Solution: Add the matchstrlist() and matchbufline() Vim script >> functions (Yegappan Lakshmanan) >> >> > To demonstrate the use of the new matchbufline() function, I have created > the following script. This does search text completion from the list of > words > in the current buffer. After typing a few letters in the "/" prompt, if > you press > Tab, it will complete the word from the current buffer. If you press Tab > again, > then it will go to the next match. If you press Shift-Tab, it will go > back to > the previous match. > > I have uploaded this plugin to the https://github.com/yegappan/searchcomplete repository. Regards, Yegappan -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAAW7x7kPYmq0czTLH62es-NzoYfhFkH_G8BM5Kk%3Ds94tpd0KaQ%40mail.gmail.com.