Vim Xcode integrationEdit

.vimrc configuration

.m files are Objective-C, not Matlab

let filetype_m='objc'

External resources

Goto system settings from the application menu, choose the file type preferences tab, expand the tree from file->text->sourcecode and change it to vim as an external editor