跳到内容
onsuggest
登录
文章 en

Launching Magit from IntelliJ IDEA

来源: 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

键盘快捷键

上一条发现
←P
下一条发现
→N
喜欢
L
不适合我
X
保存
S
显示此帮助
?
关闭
Esc

快捷键在发现页面上有效。