After running bash commands(e.g !mv file1 file2) vim outputs result of that command and prints this message:

Press Enter or type command to continue

Is there a way to skip this message and return to vim automatically?


1 Answer 1


I don't think you can disable it, but you could use a mapping and append <CR>:

map <F4> :!mv file1 file2<CR><CR>

You must log in to answer this question.

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