Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using archlinux with zsh and vim 7.3 ( ). I'm not using tmux/screen.

Whenever I open a file (with plugins enabled) or try execute a shell command (using :!)/editing a file with no plugins enabled, my vim session suspends and I have to use the fg command to respawn my session. Either way, vim keeps suspending itself without me doing anything.

I never had that problem before and I can't reproduce the problem with gvim. The problem is only vim related.

Here are my vim files:

And this is the vimrc file I'm using on my project:

share|improve this question

migrated from Nov 20 '12 at 12:07

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

The problem was this line in my vimrc file:

set shellcmdflag=-ic

Erasing that fixed my problem.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .