When Vim mode is active in Xcode, you can create a new line below the current line with the key O. The shortcut Swift O creates a new line above the current line. In both cases Xcode switches to inser mode.