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?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityAfter 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?
I don't think you can disable it, but you could use a mapping and append <CR>
:
map <F4> :!mv file1 file2<CR><CR>