Skip to content

magit on startup #16218

Answered by alexey0308
ivfisunov asked this question in Q&A
Dec 24, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi Ivan @ivfisunov, as I understand you would like to have a magit buffer opened for a specific repository on startup - does it work for you if you add to your user-config something like

   (progn 
    (magit-status-setup-buffer "~/path/to/repo-name")
    (switch-to-buffer (get-buffer "magit: repo-name"))
    (delete-other-windows))

?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pataquets
Comment options

Answer selected by smile13241324
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants