Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using archlinux with zsh and vim 7.3 ( https://gist.github.com/4114299 ). 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: https://github.com/marcosdsanchez/.vim/

And this is the vimrc file I'm using on my project: https://gist.github.com/2d64b3f258b14b486284

share|improve this question

migrated from stackoverflow.com Nov 20 '12 at 12:07

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

add comment

1 Answer 1

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.