Function: vip-switch-to-buffer

vip-switch-to-buffer is an interactive and byte-compiled function defined in vip.el.gz.

Signature

(vip-switch-to-buffer)

Documentation

Switch to buffer in the current window.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/vip.el.gz
;; visiting and killing files, buffers

(defun vip-switch-to-buffer ()
  "Switch to buffer in the current window."
  (interactive)
  (let (buffer)
    (setq buffer
	  (read-buffer
	   (format "switch to buffer (%s): "
		   (buffer-name (other-buffer (current-buffer))))))
    (switch-to-buffer buffer)
    (vip-change-mode-to-vi)))