Code Monkey home page Code Monkey logo

find-string.vim's Introduction

find-string.vim

This script is just a provider for the PowerShell find-string script, that is itself an homage to ack. In fact, this script is based heavily on the ack.vim script. The grepprg and grepformat parts of the script were copied over with variables renamed. I can only take credit for the setting of the shell to powershell. So, thanks to all of the aforementioned projects.

Because this script just forwards calls to the PowerShell script, this will only work on the Windows platform, at least unless there is ever a Mono version of PowerShell. If you want this functionality on other platforms, just use ack.

Installation

Vundle

Bundle 'drmohundro/find-string.vim'

NeoBundle

NeoBundle 'drmohundro/find-string.vim'

In addition, another installation requirement for now is that both files under ./lib (find-string-wrapper.ps1 and ps-find-string.bat) need to be in your PATH. I'm sure there is a better way to do this (likely by having vim know to execute these scripts where they exist), but I'm still learning. It works for me. Maybe it will work for you!

Usage

:FindString {pattern} [{filetypes}]

So, if you wanted to search for 'command' in all .vim files, you would type :FindString command *.vim.

Need help?

Visit my website and shoot me a line or open an issue.

find-string.vim's People

Contributors

drmohundro avatar

Stargazers

 avatar  avatar

Watchers

 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.