Can anyone show me how to catch the last badly spelled word when vim says ...hit BOTTOM? I tried to do it like this:
while 1 try " Jump to the next silent keepjumps normal! ]s let counter += 1 catch /^Vim[^)]\+):E38\D/ " do some stuff break endtry endwhile
Cycling through the badly spelled words works (as it seems to me) like cycling through the searched words. Indeed, if I replace
n and then do some search the try-catch works fine.