How can I execute a command after vicmd?
I want it to open vim in another terminal and then activate that terminal. I managed to get it to open the file in vim in another terminal, but I need to run an additional command (using wmctrl) to activate that terminal.
'vicmd' doesn't have to point to Vim, it can be your custom script which does both those things (see scripts/ directory):
vim --server-name name --remote ... "$@"