Entering annoying-arrows-mode makes Emacs ring the bell in your
face if you use the arrow keys to move long distances.

Set the `annoying-arrows-too-far-count' to adjust the length.