LoginSignup
11
5

More than 5 years have passed since last update.

XcodeでVimを使う

Last updated at Posted at 2018-11-02

環境

  • Xcode10.1
  • OSX 10.14.1 Mojave

XVim2をcloneしてmake

※ Xcode は終了しておいておいてください。

自分は~/Develop ディレクトリを作ってそこにクローンしました。

$ git clone git://github.com/XVimProject/XVim2 XVim2
$ cd XVim2
$ make

他の記事とかでは証明書が必要とか書いてあるようですが、多分それはXVimだと思います。特に必要ありませんでした。

Xcodeに適用

update_xcode_pluginsなるものを使います。

sudo gem install update_xcode_plugins

でインストールできる。

update_xcode_plugins --unsign

を叩く。このときXcodeを複数バージョン入れてると選択を迫られる模様。選択してエンター。

ここまで終わったら、Xcodeを起動する。Load bundle, Skip bundle を聞かれるらしいが、なぜか、自分は聞かれなかった。

上のメニューのEdit > Xvimがあればちゃんとできてる。

 参考

XVim2, update_xcode_pluginsのgithubのURL

11
5
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
11
5