I know that I can delete from the cursor till and including the first occurence of a character x with d/x<CR> or with v/x<CR>d if I want to see the selection first and then delete. How can I delete from the current cursor position till the nth occurence of x?
E.g., if the cursor is after the first space in
yada yada yada
yada yada yada x
yada yada yada x
yada yada yada x
xx
and I type a command to remove up to the third x the result needs to be:
yada
xx
fand friends (F,t,T,;): e.g.2fxwill get you to the secondx, or2;will repeat the lastftwice. – Martin Tournoij Jan 14 '16 at 18:21