Giter VIP home page Giter VIP logo

redhawk-vim-plugin's Introduction

This is a mirror of http://www.vim.org/scripts/script.php?script_id=3586

Redhawk Vim: A Vim plugin for Redhawk (http://pypi.python.org/pypi/redhawk)


Currently, only redhawk query and replace are supported.

  :Redhawk query <query> [FILE]s

runs the Redhawk query on each of the FILEs, and populates the quickfix
window.

  :Redhawk replace <query> [FILE]s

runs the Redhawk query on each of the FILEs, and creates an editable quickfix
window (similar to :GReplace).


EXAMPLE USAGE:

1. Query for '**/DefineFunction' in each FILE:
  Redhawk query '**/DefineFunction' [FILE]

2. Replace all '**/DefineFunction' in each FILE:
  Redhawk replace '**/DefineFunction' [FILE]

3. Query parallely for '**/DefineFunction' in each FILE:
  Redhawk query '**/DefineFunction' [FILE] -p

4. Replace all results for '**/DefineFunction' in buffers:
  RedhawkBuf replace '**/DefineFunction'


List of Commands:
Redhawk:        Query and replace from within Vim.
RedhawkAdd:     Add to quick fix list.
RedhawkArgs:    Add args as files to redhawk command.
RedhawkBuf:     Add files in buffers to redhawk command.
RedhawkArgsAdd: (similar)
RedhawkBufAdd:  (similar)

If you do not have redhawk installed on your path, you could set it to
/path/to/redhawk by setting the g:redhawk_program variable. Optional arguments
that you might always want to use are set in g:redhawk_args. If you find that
the default behaviour of the quickfix list popping up irritating, you can set
g:redhawk_open_resultlist to 0 in your .vimrc


Note:

1. Redhawk MUST be installed in PATH, or the g:redhawk_program variable must be
set.

2. Redhawk can be installed via PyPi: 
    $ pip install redhawk

The project hompage is here: http://pypi.python.org/pypi/redhawk
Redhawk is currently under heavy development. The latest development release
can be found at http://www.github.com/spranesh/Redhawk

redhawk-vim-plugin's People

Contributors

spranesh avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.