If i type, for example,
y/foo<CR> in Normal mode, i "yank" all the text until the next occurrence of "foo" without side effects. However, if i type
y?foo<CR> in Normal mode, i "yank" the text alright, but unfortunately the cursor jumps to the occurrence of "foo".
Is this the expected behavior? Is there an easy workaround?