Skip to content

ElPiloto/telescope-vimwiki.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

telescope-vimwiki.nvim

Look for your vimwiki pages using telescope!

Requirements:

Installation and Configuration

  1. Install using your favorite plug-in manager (e.g. packer, vim-plug, etc.)

  2. Configure telescope

  3. 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.

Usage

List vimwiki pages for default (0-th) vimwiki:

: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

Use telescope live grep on your vimwiki files:

:Telescope vw live_grep

Also supports specifying a different vimwiki:

:Telescope vw live_grep i=1

Insert link in current cursor position:

:Telescope vw link

Keybindings

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>

TODO

  • Add way of configuring which vimwiki you want, currently just defaults to 0-th wiki.
  • Add support for vimwiki tags.

About

look through your vimwiki with your telescope

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages