[SWIFT] Use XVim2 with Xcode 12.0.1

Overview

Install XVim2 to use Xcode with vim keybindings. https://github.com/XVimProject/XVim2

procedure

1. Creating a certificate

Follow the link "You can read the instructions for how to do this and ..." in the README INSTALL.1. https://github.com/XVimProject/XVim2/blob/master/SIGNING_Xcode.md

Open Keychain Access and select "Certificate Assistant> Create Certificate" from the menu bar. スクリーンショット 2020-10-24 10.07.21.png Enter as follows. スクリーンショット 2020-10-24 10.09.33.png Execute signature from the command line. (Leave it because it takes time. After that, you will be asked to enter the login password several times.)

sudo codesign -f -s XcodeSigner /Applications/Xcode.app

2. Xvim2 repository clone

git clone https://github.com/XVimProject/XVim2.git

3. Branch switching

Switch to a branch that matches your Xcode version. Below is a list of branches. https://github.com/XVimProject/XVim2#branches-and-releases

Here, if the following result is empty, set according to the procedure of README. If the path is displayed like "/Applications/Xcode.app/Contents/Developer", there is no problem.

xcode-select -p

4. Run make

Execute make in the cloned XVim2 directory.

cd XVim2
make

5. Start Xcode

When you start Xcode, the following dialog will be displayed, so select "Load Bundle". スクリーンショット 2020-10-24 10.42.53.png

defaults delete com.apple.dt.Xcode DVTPlugInManagerNonApplePlugIns-Xcode-12.0.1

6. Restart Xcode

Close Xcode and restart it. If successful, the cursor will become a block type as shown below, and you can operate it with Vim key bindings. スクリーンショット 2020-10-24 10.50.51.png

Recommended Posts

Use XVim2 with Xcode 12.0.1
Use ProGuard with Gradle
Use Puphpeteer with Docker
Use CentOS with LXD
Use ngrok with Docker
Use webmock with Rspec
Use WebJars with Gradle
Use jlink with gradle
Use Lambda Layers with Java
Use GDAL with Python with Docker
Use pfx certificate with Okhttp3
Create a playground with Xcode 12
Use SDKMAN! With Git Bash
Use multiple databases with Rails 6.0
Use Spring JDBC with Spring Boot
Erase Storyboard Minimap with Xcode 12
Use Ruby with Google Colab
Use SpatiaLite with Java / JDBC
Use log4j2 with YAML + Gradle
XVim2 introduction memo to Xcode12.3
[Docker] Use whenever with Docker + Rails
Use PlantUML with Visual Studio Code
Use Basic Authentication with Spring Boot
Use java with MSYS and Cygwin
Use constructor with arguments in cucumber-picocontainer
Use PostgreSQL inet type with DbUnit
Why use orchestration tools with Docker
Use bootstrap 4 with PlayFramework 2.6 (no CDN)
Let's use Amazon Textract with Ruby
Use Git with SourceTree and Eclipse
Use JDBC with Java and Scala.
Use DataDog APM with unsupported frameworks
Use Java 11 with Google Cloud Functions
How to use mssql-tools with alpine
Install Xcode and use Hello Swift!
Beginning with Spring Boot 0. Use Spring CLI
Swift beginner Debugging memo with Xcode
Use cuda11.0 with pytorch using Docker
[Rails] How to use rails console with docker
Use Firebase Realtime Database with Cocos Creator.
I want to use DBViewer with Eclipse 2018-12! !!
Use Symbolic Link with Docker multi-stage builds
Use FacesContext as a Mock with PowerMockito
[JaCoCo (Java Code Coverage)] Use with NetBeans
Use cljstyle with Spacemacs on Ubuntu on WSL2
Use Spring Security JSP tags with FreeMarker
Use a named format with Ruby's format method
Use cache with EhCashe 2.x with Spring Boot
Use ZStandard with .NET Core + Docker (Alpine)