Mac – How to open a new terminal window when using VIM

macterminal

does someone know how to open a new terminal window when opening a new text with VIM.

I would like to have an autarchic window which can be resized and closed while the other windows will stay as and where they are.

Regards

mmm…

Best Answer

You could simply use MacVIM to handle this. When you install MacVIM it should give you an option to install the command line shortcuts.

Then, in your Terminal, simply use mvim instead of vi:

mvim /path/to/your/file.txt

Or, if you are super lazy, add this to your ~/.profile:

alias vi=mvim

This also allows you to associate text files with MacVIM in finder, so you always get the right application for your files, weather you open them in the GUI or not.