5

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?

4

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

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

Your Answer

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

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