GithubHelp home page GithubHelp logo

awayme / vim-buffersaurus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jeetsukumaran/vim-buffersaurus

0.0 0.0 0.0 124 KB

Vim plugin to search, index, and navigate buffer content using regular expression patterns.

Vim Script 100.00%

vim-buffersaurus's Introduction

Buffersaurus is a plugin for searching and indexing the contents of buffers
for regular expression patterns or collections of regular expression patterns.
Results are displayed in separate buffer, and can be (optionally) viewed with
user-specifiable lines of context (i.e., a number of lines before and/or after
the line matching the search pattern) or filtered for specific patterns.

Global commands provided include (among others):

  :Bsgrep[!] {pattern}

    Search all buffers (or just current buffer if "!" given) for regular
    expression pattern, {pattern}.

  :Bstoc[!]

    Construct a "table-of-contents" consisting of filetype-dependent
    "important" patterns (e.g. class and method/function definitions).

Other commands include those for filtering results, jumping to next/previous
matching line without opening the catalog, searching for special user-defined
terms (":Bsterm") etc.

The results list can be browsed/navigated using all the usual Vim movement
commands. Selected lines can be opened in the previous window, a new window
split (vertical or horizontal), or a new tab page. Context can be toggled (i.e.
show a user-specified number of lines before or after the matching line).
Results are grouped and sorted by filename, and then by line number, but can
also be ungrouped and sorted lexically.

Search and replace operations (using the ":Bsreplace" command, or "R" key
mapping), or execution of arbitrary commands ("x" or "X" key mapping),
can also be carried out on matched or contexted lines can be carried out

Detailed usage description is given in the help file, which can be viewed
on-line here:

    http://github.com/jeetsukumaran/vim-buffersaurus/blob/master/doc/buffersaurus.txt

Source code repository can be found here:

    http://github.com/jeetsukumaran/vim-buffersaurus

vim-buffersaurus's People

Contributors

awayme avatar jeetsukumaran avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.