When I run git rebase -i I get the absolutely horrible Rebase mode in emacs.
This only accepts some pre defined commads like
c -> Pick
r -> Reword
etc…
Even if I change to text mode emacs auto-magically makes the git-rebase-todo file read-only. How can I disable it?
The only solution I have found is to use vim as editor (something I don't want, I like emacs in general)
Best Answer
The
rebase-mode
automatic activation is triggered by theauto-mode-alist
variable. You can try disabling it to editgit-rebase-todo
files in fundamental mode (no special shortcut, no automatic read-only flag, ...) :On another note, you might want to use
magit
to realize your git operation directly from within emacs.