0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

git for windowsでcore.editorをMeryにする方法

Last updated at Posted at 2019-12-13

Mery、べんりぃ

最近のWindowsのテキストエディタを調べていて、Meryというよさげなエディタを知りました。
Meryで文章を書いて、そのままgit for windowsでcore.editorをMeryにしたい!と思い、設定を調べましたところ、

にて、/spというオプションで既にMeryを起動していても、別のシングルプロセスでMeryを起動できることを知りました。
なので、git bashで次のコマンドを打ってMeryをcore.editorに設定しました。

$ git config --global core.editor "'path/to/Mery.exe' //sp"

/spオプションを指定するときに//spというようにエスケープしてあげるのが肝です。そうしないと/にあるspというファイルを編集する、なんていう解釈をされてしまうので。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?