Giter Club home page Giter Club logo

bg.vim's Introduction

bg.vim

Description

vimのバックグラウンドで、grepやmakeを実行するためのプラグインです。 grepは&grepprgで指定される外部grepを使用し、makeは&makeprgで指定されるコンパイラを使用します。 vimprocで非同期的に実行を行い、その結果を定期的(au CursorHold)に取得して、QuickFixに追加するように動作します。 バックグランド実行中は一時的にupdatetimeを変更しますが、実行完了後に元に戻します。 そのため、updatetimeに依存するほかのスクリプトと競合する可能性があります。 また、バックグランド動作中に別のバックグラウンド処理を行うと、以前のバックグランド動作はキャンセルされます。 QuickFixのウィンドウでカーソルが最後の行にある場合、自働スクロールします。 バックグラウンド動作中にQuickFixからジャンプすることも可能です。

Requirements

このスクリプトは、vimprocを必要とします。 vimprocをインストールしてください。

Usage

grep

:Background grep [grep-args]

make

:Background make [grep-args]

cancel

:Background cancel

HISTORY

v0.2.0 by yuratomo

  • Support make.
  • Change command name. (BG to Background)

v0.1.0 by yuratomo

  • first version.

bg.vim's People

Contributors

yuratomo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

ompugao

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.