When I run the following command, it flickers:
command! mCommand bash mRename.sh %f
I tried changing it to use system() (see below), but I can's make it to work:
command! mCommand : system('bash mRename.sh %f')
How can I resolve the flickering issue?
You can use %i macro.