sponsor Vim development Vim logo Vim Book Ad

Zeef : Interactively filter a list of items

 script karma  Rating 9/3, Downloaded by 446  Comments, bugs, improvements  Vim wiki

created by
Lifepillar
 
script type
utility
 
description
Zeef is a pure autoload interactive exact and fuzzy filter for a list of items, entirely written in Vim 9 script. Zeef requires Vim 9.1 or later, built with +popupwin and +textprop.

Remarkable features:

    - fuzzy matching (courtesy of Vim's matchfuzzypos());
    - single or multiple selections;
    - allows or prevents duplicate items in multiple selections;
    - mouse support.
 
install details
mkdir -p ~/.vim/pack/plugins/start
git clone https://github.com/lifepillar/vim-zeef.git ~/.vim/pack/plugins/start/zeef
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-zeef-2.0.2.tar.gz 2.0.2 2024-06-01 9.0 Lifepillar Modern pure autoload interactive exact and fuzzy filter for any list of items, entirely written in Vim 9 script. What's new: allow combining patterns in exact matching (e.g., typing `foo&bar` filters all lines matching both `foo` and `bar`, in any order); make the choice of wildchar in exact matching more flexible and robust; simplify the arguments of some zeefs (if you were using them before, you may need to update your code!); other minor fixes.
vim-zeef-2.0.1.tar.gz 2.0.1 2024-05-12 9.0 Lifepillar Modern, pure autoload, exact and fuzzy interactive filter for a list of items. It can be used for file browsing, buffer switching, and whatever requires choosing from a list. This version rewrites Zeef entirely in Vim 9 script and adds fuzzy matching in addition to exact matching, mouse support, the Selected Items drawer, improved multiple selections. And it is fully customizable! What's new in v2.0.1: various bug fixes and other minor improvements.
vim-zeef-2.0.0.tar.gz 2.0.0 2024-05-11 9.0 Lifepillar Modern, pure autoload, exact and fuzzy interactive filter for a list of items. It can be used for file browsing, buffer switching, and whatever requires choosing from a list. This version rewrites Zeef entirely in Vim 9 script and adds fuzzy matching in addition to exact matching, mouse support, the Selected Items drawer, improved multiple selections. And it is fully customizable!
vim-zeef-v1.0.1.tar.gz 1.0.1 2020-11-16 7.4 Lifepillar Allows overriding mappings for a single call of zeef#open(). Allows (de)selecting all filtered items at once. Shows the number of selected items in the status line. Adds zeef#result() and zeef#keypressed() to get the list of selected items and the last key pressed, respectively (useful in callbacks in some cases). Bug fixes in parsing tags and highlighting. Improved documentation and compatibility with older Vim. Licensed under MIT.
vim-zeef-1.0.0.tar.gz 1.0.0 2020-10-08 7.4 Lifepillar Initial upload
ip used for rating: 18.222.107.128

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github