I am using iterm2 and enjoy using vim terminal vim within it. A really annoying issue i'm having is that when writing python .py files and compiling using commands like:

:!python %

The code compiles correctly and I vim exits. I have looked all over at settings in my iterm2 application but don't see one that will stop this behavior.

When I use the above command in the terminal application shipped with every macbook the issue does not occur. Therefore, I don't suspect my Vimrc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.