sponsor Vim development Vim logo Vim Book Ad

Bck : Enhanced searching for Vim

 script karma  Rating 5/2, Downloaded by 71    Comments, bugs, improvements  Vim wiki

created by
Mihai Ciuraru
 
script type
utility
 
description
Bck is a plugin that enhances searching in Vim. It puts bits and pieces
together to make searching a better experience in Vim.

Searching is powered by ack, which needs to be installed first. This plugin
is similar to ack.vim but it brings several improvements:

* You can specify search options using hotkeys which are displayed at the top of the Bck window
* Each search result has an associated hotkey which can be used to view it
* Cursorline is used to highlight the result
* Results are displayed in the Bck window, but are available in the quickfix
window as well

Bck provides a unified way to search in the following locations:

* project - the closest parent dir which contains a .git folder (or .svn, .hg etc., configurable)
* parent dir - relative to the current file
* file - search only in the current file
* current dir - in Vim's current working directory
* buffers - all listed buffers

Other search options are:

* ignore case / match case
* recursive / non-recursive
* whole word / substring

More details on github: https://github.com/mihaifm/bck
 
install details
This plugin uses ack for the search, which is a Perl script better that grep. Download and install from http://betterthangrep.com/
To install this plugin just copy bck.vim in the plugin directory of your vim installation, or install via pathogen or vundle.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
bck.zip 1.0.0 2013-01-30 7.3 Mihai Ciuraru Initial upload
ip used for rating: 54.82.229.76

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo