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.
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
Or, if you are super lazy, add this to your
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.
You could write a little script like this :
Name this script v and make it executable :
Then when you're in terminal, just execute the v script and it will open a new terminal window and run vim.
Alternatively, if you want to open a text file as part of this:
Then just run v text.txt and it will open a new terminal window, open vim, and open the text file called text.txt. If text.txt doesn't exist, as usual, vim will create it in the buffer.