0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

githubのCLIツールghでvimを指定した時に日本語が文字化けするのを防ぐ設定

Posted at

ghのeditorをvimに指定して設定していると.vimrcの設定に関わらず、utf-8になってくれない。
通常の設定方法
gh config set editor vim
で設定しているとissue やprを編集する時に
set fenc=uft-8
を毎回しなければいけない。

解決する呪文

gh config set editor 'vim -c"set fenc=utf-8"'
検索しても出てこなかったのでここに残しておく。

0
2
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
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?