Giter Club home page Giter Club logo

xyzzy.xig's Introduction

Xig: xyzzy interface for git

概要

xyzzy の git ブラウザです。 xyzzy で動く tig を目指したものです。

できること

  • shortlog を見る
  • commit の diff を見る
  • stage, unstage の切り替え
  • コミット

インストール

  • windows 用の git が必要です。 git for windows 等をインストールしてください。
  • xyzzy の site-lisp に xig というディレクトリを作り、このリポジトリのファイルをコピーしてください。
  • git を使って入れる場合は site-lisp に移動して以下のコマンドを実行します。
    • git clone git://github.com/yosugi/xyzzy.xig.git xig

設定

.xyzzy 等に以下を追記してください。

(load-library "xig/xig")
(setq xig::*xig-git-path* <git.exe へのパス>)

使い方

git 配下にあるファイルを開いて M-x xig-mode すれば shortlog が見えるはずです。

基本的に tig と同じように使えると思います。

キーバインド

全体的に vim っぽいキーバインドも定義しています。 また TAB でウィンドウ間の移動ができます。

shortlog(main)

  • RET コミットの diff を表示
  • R shortlog を再描画
  • g コミットグラフの表示 / 非表示切り換え
  • S status 画面表示
  • q diff を閉じる / xig-mode 終了

diff

  • f 下スクロール
  • SPC 下スクロール
  • b 上スクロール
  • q diff を閉じる

status

  • u stage, unstage の切り替え (git add/reset)
  • ! 変更取り消し (git checkout --)
  • RET diff を表示
  • C コミットメッセージ編集
  • q status を閉じる

commit

  • C-c C-c コミット (git commit)
  • C-g コミットをキャンセル

ライセンス

MIT ライセンスです。 LICENCE ファイルを参照してください。

サポート

バグ、要望等は github の issues までお願いします。

xyzzy.xig's People

Contributors

yosugi avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

xyzzy.xig's Issues

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.