SHARE
    TWEET
    mark-naylor-1701

    magit-status-only

    Oct 19th, 2024
    1,414
    0
    Never
    Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
    Lisp 0.30 KB | None | 0 0
    1. (defun magit-status-only ()
    2. "Opens a magit status buffer, replacing the current buffer in the
    3. current window. If not in a git repository, prompt for creation
    4. of one."
    5. (interactive )
    6. (let ((display-buffer-base-action '(display-buffer-same-window)))
    7. (call-interactively #'magit-status)))
    Advertisement
    Add Comment
    Please, Sign In to add comment
    Public Pastes
    We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
    Not a member of Pastebin yet?
    Sign Up, it unlocks many cool features!

    AltStyle によって変換されたページ (->オリジナル) /