Look for your vimwiki pages using telescope!
- neovim (>= 0.5.0)
- vimwiki
- nvim-telescope
- with
live_grep
support
- with
-
Install using your favorite plug-in manager (e.g. packer, vim-plug, etc.)
-
Configure telescope
-
Load extension:
require('telescope').load_extension('vimwiki')
or use vw
alias:
require('telescope').load_extension('vw')
If you load as vw
, you should use vw
in the commands below.
:Telescope vimwiki
or use the vw
alias:
:Telescope vw
You can specify a different vimwiki via index
or i
for short
:Telescope vw index=1
or
:Telescope vw i=1
:Telescope vw live_grep
Also supports specifying a different vimwiki:
:Telescope vw live_grep i=1
:Telescope vw link
Seach vimwiki page filenames:
nnoremap <leader>vw <cmd>lua require('telescope').extensions.vimwiki.vimwiki()<cr>
or (if you're loading the extension using the vw extension)
nnoremap <leader>vw <cmd>lua require('telescope').extensions.vw.vw()<cr>
Live grep vimwiki files:
nnoremap <leader>vg <cmd>lua require('telescope').extensions.vw.live_grep()<cr>
- Add way of configuring which vimwiki you want, currently just defaults to 0-th wiki.
- Add support for vimwiki tags.