Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/matt-snider/vim-tagquery

A vim plugin that lets you search with multiple tags.
https://github.com/matt-snider/vim-tagquery

ctags fzf query search tags vim vimwiki

Last synced: 12 days ago
JSON representation

A vim plugin that lets you search with multiple tags.

Awesome Lists containing this project

README

        

# vim-tagquery

A vim plugin that enables improved querying of tags.

Currently, this depends on [fzf.vim](https://github.com/junegunn/fzf.vim), but there are plans for a command that does not require it.

## Usage

This finds all locations with the tags `foo` and `bar`, but not `bazz`. It will put the results in a filterable `fzf` buffer with a preview of the file:

```
:FzfTagQuery foo & bar & !bazz
```

An example binding:

```viml
noremap :FzfTagQuery
```

## Installation

Using [`vim-plug`](https://github.com/junegunn/vim-plug):

```vim
Plug 'matt-snider/vim-tagquery', { 'do': 'bash install.sh' }
```

## Configuration

Path to the vimwiki ctags file:

`let g:tagquery_ctags_file = '~/vimwiki/.vimwiki_tags'`