Adding support for neovim vim.ui.select#281
Conversation
Thank you, I really appreciate your work here! I was already working on this myself, but it was not going very fast. I'm glad to have help here!
Thanks, I agree on this suggestion, except that I want it to be I believe we are quite close already with your effort, but we need some more work:
|
autoload/wiki/buffer.vim
Outdated
| command! -buffer WikiPageToc call wiki#toc#create(0) | ||
| command! -buffer WikiPageTocLocal call wiki#toc#create(1) | ||
| command! -buffer WikiGenerateToc call wiki#toc#create(0) | ||
| command! -buffer WikiGenerateToc call wiki#toc#create(1) |
There was a problem hiding this comment.
I don't mind this change, except I would prefer WikiTocGenerate. But we also need to make this change later (near line 111).
There was a problem hiding this comment.
Sorry, but I was probably unclear on my last sentence. You changed WikiPageToc to WikiTocGenerate now, but you did not change the map definition later on line 115:
nnoremap <silent><buffer> <plug>(wiki-page-toc) :WikiPageToc<cr>| *<plug>(wiki-fzf-pages)* | ||
| *WikiFzfPages* | ||
| *<plug>(wiki-pages)* | ||
| *WikiPages* |
I don't think is possible natively, or in a way that it is general enogh for all kinds of fuzzy finders.
My plan was to write it myself but I need help on where is appropriate to make (under what heading/subsection) |
|
There's a minor detail left (line 115 of Also, I appreciate that you've used conventional commits here! |
|
I've merged this now and also pushed an update to the docs. Let me know what you think. |
|
I think is a good idea listing this integration in the README. As you saw in some of the GIFs if uploaded the user can use basecly every neovim fuzzy finder, is very cool! |
|
I've tried to list these now. |
WikiFzf{Pages,Tags,Toc}in favor ofWiki{Pages,Tags,Toc}This uses on Neovim
vim.ui.selectand on vimjunegunn/fzf.WikiPageTocandWikiPageLocToctoWikiGenerateTocandWikiGenerateLocTocThis is for prefenting user confusion with
WikiTocand also make more clear the outcome of the command.Demos
with FzfLua
WikiPagesWikiTagsWikiTocwith Telescope
WikiPagesWikiTagsWikiToc