Skip to content

sk1418/QFGrep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QFGrep README file

   ____    ____________              
  / __ \  / ____/ ____/_______  ____ 
 / / / / / /_  / / __/ ___/ _ \/ __ \
/ /_/ / / __/ / /_/ / /  /  __/ /_/ /
\___\_\/_/    \____/_/   \___/ .___/ 
                            /_/      

QFGrep

(http://www.vim.org/scripts/script.php?script_id=4490)

The Idea of QFGrep came from this Question@Stackoverflow: Is it possible to grep Vim's quickfix By Arnis L. Thank Arnis!

The QFGrep plugin would be helpful when you got a lot of entries in Quickfix/location-list. For example, you did an Ack/Grep with a not strict criteria. QFGrep can do further filtering for you, so that you could narrow your focus and jump to the right file right line quickly. At any time you could restore the original Quickfix/location-list entries.

Features

  • filter(Grep) entries in Quickfix/location-list
  • restore original Quickfix/location-list entries

Usage

  • fill Quickfix/location-list window with some entries (grep, vimgrep, ack or make), move cursor to quickfix/location-list buffer
  • <Leader>g input pattern to do further filtering
  • <Leader>v input pattern to do further inverted filtering (like grep -v)
  • <Leader>r restore the Quickfix/location-list with original entries
  • check the GIF animation below

Customization

  • mapping customization
  • message color-highligting customization
  • :h QFGrep to check details

Screencast

QFGrep GIF Animation

vim:ft=markdown:ts=2:sw=2:ts=2:fdm=marker:expandtab

About

a vim plugin to filter entries in Quickfix

Resources

Stars

Watchers

Forks

Packages

No packages published