Skip to content
onsuggest
Log in
Article en

Launching Magit from IntelliJ IDEA

Source: Dmitry Dolzhenko ·

For a large portion of git operations I use daily, I find Magit ’s interface much more convenient than git’s own CLI or IntelliJ’s UI. Although, I don’t use Emacs for all my coding projects, I’d like to have a shortcut to quickly open Magit for any git repository, either from a terminal or IDEA. When I’m in a terminal and need to open a file or a directory in Emacs, I call the following wrapper, which I have in my $PATH as emacsclient : #!/usr/bin/env bash # Bring Emacs frame to the foreground osascript << EOF tell application "System Events" tell application process "Emacs" set frontmost to t

Keyboard shortcuts

Previous discovery
←P
Next discovery
→N
Like
L
Not for me
X
Save
S
Show this help
?
Close
Esc

Shortcuts work on the discovery page.