home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-10-23 | 67.5 KB | 1,266 lines |
-
- (defvar vip-emacs-local-map nil "\
- Local map used in emacs mode. (buffer specific)")
-
- (defvar vip-insert-local-map nil "\
- Local map used in insert command mode. (buffer specific)")
-
- (make-variable-buffer-local (quote vip-emacs-local-map))
-
- (make-variable-buffer-local (quote vip-insert-local-map))
-
- (defvar vip-insert-point nil "\
- Remember insert point as a marker. (buffer specific)")
-
- (set-default (quote vip-insert-point) (make-marker))
-
- (make-variable-buffer-local (quote vip-insert-point))
-
- (defvar vip-com-point nil "\
- Remember com point as a marker. (buffer specific)")
-
- (set-default (quote vip-com-point) (make-marker))
-
- (make-variable-buffer-local (quote vip-com-point))
-
- (defvar vip-current-mode nil "\
- Current mode. One of emacs-mode, vi-mode, insert-mode.")
-
- (make-variable-buffer-local (quote vip-current-mode))
-
- (setq-default vip-current-mode (quote emacs-mode))
-
- (defvar vip-emacs-mode-line-buffer-identification nil "\
- value of mode-line-buffer-identification in emacs-mode.")
-
- (make-variable-buffer-local (quote vip-emacs-mode-line-buffer-identification))
-
- (setq-default vip-emacs-mode-line-buffer-identification (quote ("Emacs: %17b")))
-
- (defvar vip-current-major-mode nil "\
- vip-current-major-mode is the major-mode vi considers it is now.
- (buffer specific)")
-
- (make-variable-buffer-local (quote vip-current-major-mode))
-
- (defvar vip-last-shell-com nil "\
- last shell command executed by ! command")
-
- (defvar vip-use-register nil "\
- name of register to store deleted or yanked strings.")
-
- (defvar vip-d-com nil "\
- If non-nil, it's value is a list (M-COM VAL COM), and is used to
- re-execute last destrcutive command")
-
- (defconst vip-shift-width 8 "\
- *The number of colums shifted by > and < command.")
-
- (defconst vip-re-replace nil "\
- *If t then do regexp replace, if nil then do string replace.")
-
- (defvar vip-d-char nil "\
- The character remenbered by the vi \"r\" command")
-
- (defvar vip-f-char nil "\
- for use by \";\" command")
-
- (defvar vip-F-char nil "\
- for use by \".\" command")
-
- (defvar vip-f-forward nil "\
- for use by \";\" command")
-
- (defvar vip-f-offset nil "\
- for use by \";\" command")
-
- (defconst vip-search-wrap-around t "\
- *if t, search wraps around")
-
- (defconst vip-re-search nil "\
- *if t, search is reg-exp search, otherwise vanilla search.")
-
- (defvar vip-s-string nil "\
- last search string")
-
- (defvar vip-s-forward nil "\
- if t, search is forward.")
-
- (defconst vip-case-fold-search nil "\
- *if t, search ignores cases.")
-
- (defconst vip-re-query-replace nil "\
- *If t then do regexp replace, if nil then do string replace.")
-
- (defconst vip-open-with-indent nil "\
- *if t, indent when open a new line.")
-
- (defconst vip-help-in-insert-mode nil "\
- *if t then C-h is bound to help-command in insert mode, if nil then it is
- bound to delete-backward-char.")
-
- (defvar vip-quote-string "> " "\
- string inserted at the beginning of region")
-
- (defvar vip-tags-file-name "TAGS")
-
- (defvar vip-inhibit-startup-message nil)
-
- (global-set-key "ə" (quote vip-change-mode-to-vi))
-
- (defmacro vip-loop (count body) "(COUNT BODY) Execute BODY COUNT times." (byte-code "אij✓DCבגijדE הijוijDEFEç" [count body let while > 0 setq 1-] 9))
-
- (defun vip-push-mark-silent (&optional location) "\
- Set mark at LOCATION (point, by default) and push old mark on mark ring.
- No message." (byte-code "ג ?â