Skip to content

imsnif/grab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

preview

About

This Zellij plugin is a fuzzy finder tailored for Rust developers.

When opened inside a git folder, it searches through files in the project, as well as editor panes already opened to those files (prioritizing the latter). Pressing Enter or Tab will replace Grab with an $EDITOR pane opened to this file.

If a search term begins with struct, enum or fn followed by space, Grab will fuzzy find these Rust entities in the project instead of files. When selected with Enter or Tab, it will be replaced with an $EDITOR pane opened to the relevant file (and the relevant line!)

Recommended Usage

Grab works best when bound to a certain key (for example Alt 0) and then used as necessary instead of opening a new pane with Alt n.

Example

shared_except "locked" {
    bind "Alt 0" {
        LaunchPlugin "file:/home/aram/.config/zellij/plugins/grab.wasm"
    }
}

Installation

  1. Download grab.wasm from the latest release
  2. Place it in ~/.config/zellij/plugins
  3. Bind a key to launch it (see example above)

About

A fuzzy finder for Rust devs 🦀

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages