glimpse : Use Glimpse searching easily from Vim.
| script karma
Downloaded by 632
Comments, bugs, improvements
script versions (upload new version)
|Glimpse is a powerful indexing and query system, free for personal use.
VimGlimpse is a basic Glimpse interface within Vim, based on a Vim Tip from
VimGlimpse retains normal Vim :grep functionality, and provides
additional Glimpse features outside of what :grepprg can allow. By
default, VimGlimpse only searches within your current working directory,
making it ideal for near instantaneous searches across a project.
Find porksausage across all files in the current working directory.
:Glimpse needle haystack.h$
Finds all needles in all haystack.h's files.
:let g:glimpseFlags = "-iny -2"
:Glimpse Anestesiology html
Outputs all occurrences of Anestesiology with two errors in
files with html somewhere in their full name.
:Glimpse windsurfing;Arizona mail;1993
Finds all lines containing windsurfing and Arizona in all files
having `mail' and '1993' somewhere in their full name.
Results are placed into the |quickfix| window. Additionally, the 'q' key is
bound to the window so you can close it again quickly.
|Install the VimBall plugin (vimscript #1502) if you don't already have it.
Then open glimpse.vba from within vim.
Restart vim, read the the docs (:help glimpse), and enjoy.
Click on the package to download.
ip used for rating: 18.104.22.168
||Fixed :GlimpseIndex problems for the vast majority of error cases. If indexing still doesn't work, now display the error for easier user debugging instead of silently eating it.
||Fix the "pattern too long has > 32 chars" error. (Empty boolean search for filename paths.)