Help us understand the problem. What is going on with this article?

magit使用時git rebase -iでgit-rebase-modeが起動しないようにする

More than 5 years have passed since last update.

magit, 基本的に便利に使ってるけどgit-rebase-modeはちょっとお節介すぎる. commitの順番を変えるためにM-p/M-nで移動する必要がある等のオレオレキーバインド持って来られても困る. 今までのように普通のエディタで修正したい.

git-modes/git-rebase-mode.el at master · magit/git-modes

defadvice使う機会か, と思ったけど, 単純に特定ファイル開いた時の自動起動をなくすだけなら,

;;;###autoload
(add-to-list 'auto-mode-alist
             '("/git-rebase-todo\\'" . git-rebase-mode))

これを無効化してやればいいだけか. auto-mode-alistから削除する.

(setq auto-mode-alist (remove (rassoc 'git-rebase-mode auto-mode-alist) auto-mode-alist))

git-rebase-todoって一時ファイル作成はgit自身の機能なのね

hash
機能が向上し, 問題が修正されています
http://twitter.com/T_Hash
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした