I'm trying to create a zsh alias that will start vim and search backwards from the end of the file for a given string. I learnt about
+normal and can do something like this to start vim at the end of the file:
vim "+normal G" log
But I'm not able to follow that by an incremental search. The following does work (with a literal CR) from the command line:
vim "+normal G?TEST^M" log
But I can't get this to work with an alias, probably because of the literal carriage return.