Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Magit を使用して、emacs で git を操作しています。magit-status をキーにバインドしましたが、キーを押すたびにウィンドウの下半分が分割されて開き、フル ウィンドウにするには Cx 1 を押す必要があります。デフォルトでフルウィンドウで開くにはどうすればよいですか?
(setq magit-status-buffer-switch-function 'switch-to-buffer)
またはカスタマイズ経由:
M-x customize-variable RET magit-status-buffer-switch-function RET
customize-variable
magit-status-buffer-switch-function
これを実現する別の方法を次に示します。
(add-to-list 'same-window-regexps "\*magit: .*\*")