Function: viper-next-line
viper-next-line is an interactive and byte-compiled function defined
in viper-cmd.el.gz.
Signature
(viper-next-line ARG)
Documentation
Go to next line.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/emulation/viper-cmd.el.gz
(defun viper-next-line (arg)
"Go to next line."
(interactive "P")
(let ((val (viper-p-val arg))
(com (viper-getCom arg)))
(if com (viper-move-marker-locally 'viper-com-point (point)))
;; do not use forward-line! need to keep column
(let ((line-move-visual nil))
(with-no-warnings
(next-line val)))
(if viper-ex-style-motion
(if (and (eolp) (not (bolp))) (backward-char 1)))
(setq this-command 'next-line)
(if com (viper-execute-com 'viper-next-line val com))))