magit on startup #16218
magit on startup
#16218
-
Is there a way to configure Magit to open git status buffer (SPC g s) on spacemacs startup? |
Beta Was this translation helpful? Give feedback.
Answered by
alexey0308
Jan 1, 2024
Replies: 1 comment 1 reply
-
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 (progn
(magit-status-setup-buffer "~/path/to/repo-name")
(switch-to-buffer (get-buffer "magit: repo-name"))
(delete-other-windows)) ? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
smile13241324
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?