Skip to content

Narrowing plugin for Neovim. Inspired by the fantastic Atom-Narrow package

Notifications You must be signed in to change notification settings

heftyfunseeker/narrow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👉 Narrow

Neovim search editor inspired by the fantastic atom-narrow

About

Narrow is an editor oriented search plugin that places grep search results in a fully modifiable editor with automatic file/line preview. Result lines can be modified and updates to real file can be applied - making changes across multiple files a breeze.

Current State

It's stable enough that I'm daily driving it at my 9-5, but it's still in the early stages!

  • basic ripgrep project searching
  • update real files
  • preview file

Why

Placing search results in a modifiable buffer allows us to use all of vim's built-in goodies for working with our results. My search habbits often constisting of ripgrep over an initial pattern, and then searching within the results buffer to "narrow" things down. Search and replace in the buffer allows for low effort global search and replace too

Screenshot 2022-11-01 at 1 33 58 PM

About

Narrowing plugin for Neovim. Inspired by the fantastic Atom-Narrow package

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages