Skip to content

Simple Vim9 fuzzy finder wrapper utilizing Vim9's built-in fuzzy finding capability

Notifications You must be signed in to change notification settings

allandowney/vim9-minifuzzy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minifuzzy.vim 🔎

Using minifuzzy.vim to search files in the current directory

🔨 Installation

⚠️ Only supported for vim >= 8.2, not nvim

Required fd binary in the $PATH

Install using vim's builtin plugin manager:

mkdir -p ~/.vim/pack/bundle/start
git clone https://github.com/hahdookin/minifuzzy.vim ~/.vim/pack/bundle/start/minifuzzy.vim
Plug 'AllanDowney/vim9-minifuzzy'

or

Plug 'hdookin/minifuzzy.vim'

⚗️ Usage

The following mappings can be used to fuzzy find:

  • <leader>ff -- Files in current working directory
  • <leader>fb -- Buffers
  • <leader>fm -- Most recently used files
  • <leader>fl -- Lines in the current buffer

Issue #4

A couple feature requests, posting all in here to avoid spamming multiple issues:

  • Allow disabling all the default bindings via something like g:minifuzzy#disable_default_mapping so user can set up his own.
  • Open selection in a new tab (via ctrl-t perhaps)
  • Search the content of a git repo (akin to git grep)
  • Recursively search the content of the current directory. Something akin to grep -Hnri. This one is not as important for me as git grep.

About

Simple Vim9 fuzzy finder wrapper utilizing Vim9's built-in fuzzy finding capability

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%