Function: vi-end-of-word

vi-end-of-word is an interactive and byte-compiled function defined in vi.el.gz.

Signature

(vi-end-of-word COUNT)

Documentation

Move forward until encountering the end of a word.

With argument, do this that many times.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/vi.el.gz
(defun vi-end-of-word (count)
  "Move forward until encountering the end of a word.
With argument, do this that many times."
  (interactive "p")
  (if (not (eobp)) (forward-char))
  (if (re-search-forward "\\W*\\w+\\>" nil t count)
      (backward-char)))