Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add option to open projects with magit #234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Add option to open projects with magit #234

wants to merge 1 commit into from

Conversation

KaratasFurkan
Copy link
Contributor

@KaratasFurkan KaratasFurkan commented Aug 5, 2020

I would like to start to work on a project with magit. Before this PR, i was opening a random file and then open magit. It works for me now.

This PR is similar to #232

Maybe something like this on that PR would work same (did not test yet):

(setq dashboard-projectile-switch-function
      (lambda (arg) (let ((magit-display-buffer-function
                           'magit-display-buffer-same-window-except-diff-v1))
                      (projectile-vc arg))))

@KaratasFurkan
Copy link
Contributor Author

KaratasFurkan commented Aug 12, 2020

(setq projectile-switch-project-action (lambda ()
                                         (let ((magit-display-buffer-function
                                                'magit-display-buffer-same-window-except-diff-v1))
                                           (magit))))

is projectile wide approach.

@jcs090218 jcs090218 self-assigned this Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants