Skip to content
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.

rafi/vim-denite-z

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

denite-z neo/vim plugin

Filter and browse z / z.lua / zoxide (jump around) data file with this denite.nvim plugin for Neovim or Vim.

Features

  • Detect and use zoxide, or fallback to original rupa/j2 implementation
  • Custom Denite sorter
  • Manual command option

Installation

Use your favorite plugin manager, mine is dein.vim.

Requirements

Usage

:Denite z[:query[:order]]
  • query can be any string to filter candidates
  • order must be one of: rank, recent (default), frecent (Doesn't work when zoxide is used)

Examples:

  • To list all entries: :Denite z
  • Query to filter results: :Denite z:acme
  • To list all entries with the rank order: :Denite z::rank

Configuration

Set the z source sorter to sorter/z for proper rank order:

call denite#custom#source('z', 'sorters', ['sorter/z'])

Create a short-cut command: (Usage: :Z foo)

command! -nargs=+ -complete=command Z
  \ call denite#start([{'name': 'z', 'args': [<q-args>]}])

Unless you're using zoxide, you can change the order option:

call denite#custom#var('z', 'order', 'frecent')

Possible options: rank, recent, and frecent.

Credits & Contribution

  • rupa/z - wonderful utility
  • rupa/j2 - included python implementation of z

This plugin is maintained by Rafael Bodill.

Pull requests are welcome.

About

Filter and browse Z (jump around) data file with this Denite source

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages