LoginSignup
7
7

More than 5 years have passed since last update.

XCodeでvimキーバインドを使えるようになるまでの手順

Last updated at Posted at 2015-05-20

XCodeでvimキーバインドを使えるようになるまでの手順

  • XVimをインストール
cd ~/Library/Application\ Support/Xcode/
mkdir plugins
git clone https://github.com/XVimProject/XVim
cd XVim
make
  • ~/.xvimrcの設定
cd ~
vim .xvimrc //.xvimrcに設定を書き込む
  • Ctrl + P, Ctrl + N で上下移動に設定する

挿入モード時にxcodeのデフォルトではCtrl+P, Ctrl+Nでコード補完が現れてしまうので、これを変更。

1. Karabinerをインストール

https://pqrs.org/osx/karabiner/index.html.ja

2. Karabinerで設定変更

Preference  
->Change Key
->EmacsMode
->Control+PNBF to Up/Down/Left/Right
->チェックをつける
  • XCodeを再起動する

XCodeでvimキーバインドを使えるようになるまでの手順

  • XVimをインストール
cd ~/Library/Application\ Support/Xcode/
mkdir plugins
git clone https://github.com/XVimProject/XVim
cd XVim
make
  • ~/.xvimrcの設定
cd ~
vim .xvimrc //.xvimrcに設定を書き込む
  • Ctrl + P, Ctrl + N で上下移動に設定する

挿入モード時にxcodeのデフォルトではCtrl+P, Ctrl+Nでコード補完が現れてしまうので、これを変更。

1. Karabinerをインストール

https://pqrs.org/osx/karabiner/index.html.ja

2. Karabinerで設定変更

Preference  
->Change Key
->EmacsMode
->Control+PNBF to Up/Down/Left/Right
->チェックをつける
  • XCodeを再起動する
7
7
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
7
7