If BEG and END do not belong to the same buffer, it copies empty region." (byte-code "¹ˋ´ÏÇ" [nil (byte-code "´ \"Ç" [beg end copy-region-as-kill] 3) ((error (byte-code "ˋ\"Ç" [beg copy-region-as-kill] 3)))] 3))
(defun vip-change-mode-line (string) "\
Assuming that the mode line format contains the string \"Emacs:\", this
function replaces the string by \"Vi: \" etc." (byte-code "ˆ ˜\"Â
Á ¯PCÉÇ" [mode-line-buffer-identification string vip-emacs-mode-line-buffer-identification string= "Emacs:" " %17b"] 3))
(defun vip-mode nil "\
Turn on VIP emulation of VI." (interactive) (byte-code "´È?ÄCˆ˜!ȯ È˘cÈebÈ˙¨!Ä7ʲ˚¸!!qÈdbȳcÈ˝ È˛p!)Èˇ—!ȱ¼!È˛p!Èˇ½!ÈˋÉȾ Ç" [vip-inhibit-startup-message t nil switch-to-buffer "VIP Startup Message" erase-buffer "VIP is a Vi emulation package for GNU Emacs. VIP provides most Vi commands
including Ex commands. VIP is however different from Vi in several points.
You can get more information on VIP by:
1. Typing `M-x info' and selecting menu item \"vip\".
2. Typing `C-h k' followed by a key whose description you want.
3. Printing VIP manual which can be found as GNU/man/vip.texinfo
4. Printing VIP Reference Card which can be found as GNU/etc/vipcard.tex
This startup message appears whenever you load VIP unless you type `y' now.
!ÉÈ?Â% ?¢˙!Á\"˘¨ \"Á6 ?Â1˘²\"Á6˘˚ #*Ç" [val com arg nil vip-P-val vip-getcom message "Value is nil, and commmand is nil." "Value is nil, and command is %c." "Value is %d, and command is nil." "Value is %d, and command is %c."] 9))
(defun vip-digit-argument (arg) "\
Begin numeric argument for the next command." (interactive "P") (byte-code "ˋȈˋ
Enlarge region between BEG and END." (byte-code " WÂbÈ´ !Á bÈ´!Ȉ Ș Èm?Å#n?Ä)¯˘!Ȉ È VÄ5˜ Ç" [beg end set-mark beginning-of-line exchange-point-and-mark next-line 1] 8))
(defun vip-global-execute nil "\
Call last keyboad macro for each line in the region." (byte-code "`¹ VÄ ˋ È´ Ȉ È`¹ WÄ$˜¯!È´ Ȉ ÈÁÇ" [mark exchange-point-and-mark beginning-of-line call-last-kbd-macro forward-line 1] 10))
(defun vip-quote-region nil "\
Quote region by inserting the user supplied string at the beginning of
each line in the region." (byte-code "´ˆ˜\"!¯ ˘\"ÂÁ )ÉÈ˙`¨ \"È`¨ VÄ&² ÈcÈ˚ ȸ³!È`¨ WÄ9nÄIcÈ˚ ȸ³!ÈÁ1Ç" [vip-quote-string str vip-read-string format "quote string (default \"%s\"): " string= "" vip-enlarge-region mark exchange-point-and-mark beginning-of-line forward-line 1] 14))
(defun vip-end-with-a-newline-p (string) "\
Check if the string ends with a newline." (byte-code "´ˆ\"Å GSH˜UÇ" [text string string= "" 10] 3))
#*Ç" [val arg com vip-s-string vip-s-forward nil vip-p-val vip-getcom error "No previous search string." vip-search vip-execute-com vip-search-next] 8))
(defun vip-search-Next (arg) "\
Repeat previous search in the reverse direction." (interactive "P") (byte-code "¯È˘ !˙ !?Ĩ²!È˚? #È
Ä#¸³
#*Ç" [val arg com vip-s-string vip-s-forward nil vip-p-val vip-getcom error "No previous search string." vip-search vip-execute-com vip-search-Next] 8))
(defun vip-switch-to-buffer nil "\
Switch to buffer in the current window." (interactive) (byte-code "ˋÈˋ´ˆ˜¯˘p!!\"!ÉÈ˙!Ȩ )Ç" [buffer nil read-buffer format "switch to buffer (%s): " buffer-name other-buffer switch-to-buffer vip-change-mode-to-vi] 7))
(defun vip-switch-to-buffer-other-window nil "\
Switch to buffer in another window." (interactive) (byte-code "ˋÈˋ´ˆ˜¯˘p!!\"!ÉÈ˙!Ȩ )Ç" [buffer nil read-buffer format "Switch to buffer (%s): " buffer-name other-buffer switch-to-buffer-other-window vip-change-mode-to-vi] 7))
(defun vip-kill-buffer nil "\
Kill a buffer." (interactive) (byte-code "´È´´ˆ˜¯ˋp!\"!ÉÈ ?ÂpÁ˘ !ÉÈ?Ä)˙¨ \"Ȳ!?Å4˚¸!Â=³!Á@˙˝!*Ç" [buffer buffer-name nil read-buffer format "Kill buffer (%s): " get-buffer error "Buffer %s nonexistent." buffer-modified-p y-or-n-p "Buffer is modified, are you sure? " kill-buffer "Buffer not killed."] 10))
(defun vip-find-file nil "\
Visit file in the current window." (interactive) (byte-code "ˋÈˋ´ˆ!ÉȘ¯!!È˘ )Ç" [file nil read-file-name "visit file: " switch-to-buffer find-file-noselect vip-change-mode-to-vi] 5))
(defun vip-find-file-other-window nil "\
Visit file in another window." (interactive) (byte-code "ˋÈˋ´ˆ!ÉȘ¯!!È˘ )Ç" [file nil read-file-name "Visit file: " switch-to-buffer-other-window find-file-noselect vip-change-mode-to-vi] 5))
(defun vip-info-on-file nil "\
Give information of the file associated to the current buffer." (interactive) (byte-code "¹Èˋ´ˆ ˆ Á˜¯e`\"T¯ed\"T$Ç" [nil message "\"%s\" line %d of %d" buffer-file-name "" count-lines] 10))
Join this line to next, if ARG is nil. Otherwise, join ARG lines" (interactive "*P") (byte-code "ˆÈ¯ !˘ˆEÉÈ?Â˙ÁS¨VÄ<² Èm?Ä3˚˙!ȸ``S\"ȳ ÈSÉÈÁ))Ç" [val arg vip-d-com nil count vip-P-val vip-join-lines 1 0 end-of-line forward-line delete-region fixup-whitespace] 8))
(defun vip-change (beg end) (byte-code "ˆ˜¯˘
\"\"!ÉÈ˙
\"Ç" [c-string beg end vip-read-string format "%s => " buffer-substring vip-change-subr] 6))
(defun vip-change-subr (beg end) (byte-code "Ģ
ˆ$ȈÉÈ˙
\"ȨÉÈcÇ" [vip-use-register beg end nil this-command c-string copy-to-register kill-region vip-change] 5))
(defun vip-query-replace nil "\
Query replace. If you supply null string as the string to be replaced,
the query replace mode will toggle between string replace and regexp replace." (interactive) (byte-code "´È´ˆ ˜Á¯!ÉÈ˘˙\"Â- ?ÉȨ² Â(˚Á)¸\"ÁF Â=³ˆ˝˛\"!\"ÁFˇˆ˝—\"!\")Ç" [str vip-re-query-replace nil vip-read-string "Query replace regexp: " "Query replace: " string= "" message "Query replace mode changed to %s." "regexp replace" "string replace" query-replace-regexp format "Query replace regexp \"%s\" with: " query-replace "Query replace \"%s\" with: "] 12))
(defun vip-mark-beginning-of-buffer nil (interactive) (byte-code "¹Èˋ`!ÈebÈ´ Ȉ˜!Ç" [nil set-mark exchange-point-and-mark message "mark set at the beginning of buffer"] 4))
(defun vip-mark-end-of-buffer nil (interactive) (byte-code "¹Èˋ`!ÈdbÈ´ Ȉ˜!Ç" [nil set-mark exchange-point-and-mark message "mark set at the end of buffer"] 4))
" error "Extra character at end of a command"] 6)) "non-command" error format "%s: Not an editor command" "whole" "comma" "semi-colon" vip-get-ex-address-subr] 19))
(defun vip-get-ex-pat nil "\
get a regular expression and set ex-variant if found" (byte-code "˘ËÇ" [ex-g-variant ex-g-flag cont t nil ex-token ((byte-code "˘qÈ˙¨!Ȳ˚!Ä? ?Éȸ³!È˙¨!Ȳ˝!Âd¸³!È˛`!Ȉl?Ä3
\\)" vip-looking-back "[^\\\\]\\(\\\\\\\\\\)*\\\\/" mark "" buffer-substring backward-char] 15))] 1))
(defun vip-get-ex-command nil "\
get an ex command" (byte-code "ˆËÇ" [ex-token-type ex-token t ((byte-code "ˆqȘ¯!Ģ˙!Ȩ²!Ș˚!Â(¸ ȳ˝\"Ä%˛ˇ \"Á=˜—!Â:±g!ÉÈ˘˙!Á=˛¼!Ç" [ex-token-type ex-token t " *ex-working-space*" looking-at "/" forward-char 1 skip-chars-forward " " "[a-z]" vip-get-ex-com-subr string= "non-command" error "%s: not an editor command" "[!=><&~]" char-to-string "Could not find an ex command"] 12))] 1))
(defun vip-get-ex-opt-gc nil "\
get an ex option g or c" (byte-code "ˆËÇ" [ex-token t nil ((byte-code "ˆqȘ¯!Ģ˙!Ȩ²!Ș˚!Â#˚ÉÈ˘˙!ÈˋÁ6˜¸!Â5¸ÉÈ˘˙!ÈˋÁ6´Ç" [ex-token t nil " *ex-working-space*" looking-at "/" forward-char 1 skip-chars-forward " " "g" "c"] 8))] 1))
get an ex-address as a marker and set ex-flag if a flag is found" (byte-code "¨ ´²ÉȯÉÈ Ä ˚ ȸ³\"ÂA¸˝\"Å.¸˛\"Å.¸ˇ\"Â;´ÉȯÉÁ>—±!Á|¸¼\"ÂO¯ÉÁ|¸½\"Â]—¾!Á|¸à\"Âk—á!Á|⨠\"Ä{É)ÈÁÈ*Ç" [address cont t ex-token ex-flag nil ex-token-type ans point-marker "" vip-get-ex-token string= "command" "print" "list" "#" error "address expected" "end-mark" "whole" "a trailing address is expected" "comma" "Extra characters after an address" vip-get-ex-address-subr] 17))
get a buffer name and set ex-count and ex-flag if found" (byte-code "ˋÉÈˋÉÈˋÉȯËÇ" [ex-buffer nil ex-count ex-flag t ((byte-code "˜qȯ˘!È˙¨!ÄgÉȲ˚!ȯ˘!È˙¸!Ä4³`!È˝˛!Èˇ—`± \"!Éȯ˘!È˙¼!ÄBˆÉȲ˚!È˙½!?ÄM¾à!Ç" [ex-buffer ex-count ex-flag t " *ex-working-space*" skip-chars-forward " " looking-at "[a-zA-Z]" forward-char 1 "[0-9]" set-mark re-search-forward "[0-9][0-9]*" string-to-int buffer-substring mark "[pl#]" "[
get a file name and set ex-variant, ex-append and ex-offset if found" (byte-code "ˋˋˋˋÉÈ˘ËÇ" [ex-file nil ex-variant ex-append ex-offset t ((byte-code "¯qÈ˘˙!Ȩ²!ÄˋÉÈ˚¸!È˘˙!Ȩ³!Ä,ˋˋÉÈ˚˝!È˘˙!Ȩ˛!ÄR˚¸!Èˇ`!È—±!ȼ¸!Ƚ`¾ \"ÉÈ˚¸!È˘˙!Èˇ`!È—±!ȼ¸!Ƚ`¾ \"ÉÇ" [ex-variant t ex-append ex-offset ex-file " *ex-working-space*" skip-chars-forward " " looking-at "!" forward-char 1 ">>" 2 "+" set-mark re-search-forward "[
]" backward-char buffer-substring mark] 23))] 2))
(defun vip-execute-ex-command nil "\
execute ex command using the value of addresses." (byte-code "ˆ˜\"¯ Á?ˆ˘\"Â˙ˋ!Á?ˆ¨\"Â%² Á?ˆ˚\"Â1¸ Á?ˆ³\"Â=˝ Á?ˆ˛\"ÂJˇ˛!Á?ˆ—\"ÂV± Á?ˆ¼\"Âb± Á?ˆ½\"Ân¾ Á?ˆà\"Â{˙´!Á?ˆá\"ÂÇâ Á?ˆã\"ÂÓä Á?ˆå\"Â÷ç Á?ˆè\"«é Á?ˆê\"•ë Á?ˆì\"ÂˆÆ Á?ˆí\"¡ª Á?ˆî\"Âè˙ˋ!Á?ˆï\"ÂŁð Á?ˆñ\"ÂûŁ Á?ˆØ\"ÂŒ Á?ˆº\"Âò Á?ˆó\"¸ Á?ˆô\"Â%õˋ!Á?ˆö\"Â2õ´!Á?ˆæ\"Â>ù Á?ˆú\"ÂJû Á?ˆı\"ÂVü Á?ˆý\"Âcˇł!Á?ˆø\"Âpˇœ!Á?ˆß\"Â}Æ´!Á?ˆþ\"ÂËÆ´´\"Á?ˆÿ\"Åflˆ\"Åflˆ\"ÅflˆÀ@\"ÅflˆÀA\"ÂˋÀBÀCÀD\"!Á?ˆÀE\"Å!ˆÀF\"Å!ˆÀG\"Å!ˆÀH\"Å!ˆÀI\"Å!ˆÀJ\"Å!ˆÀK\"Å!ˆÀL\"Å!ˆÀM\"Å!ˆÀN\"Å!ˆÀO\"Â3ÀBÀCÀP\"!Á?ÀBÀCÀQ\"!Ç" [ex-token nil t string= "goto" ex-goto "copy" ex-copy "delete" ex-delete "edit" ex-edit "file" vip-info-on-file "join" ex-line "k" ex-mark "mark" "map" ex-map "move" "put" ex-put "quit" ex-quit "read" ex-read "set" ex-set "shell" ex-shell "substitute" ex-substitute "stop" suspend-emacs "t" "tag" ex-tag "undo" vip-undo "unmap" ex-unmap "version" vip-version "visual" "write" ex-write "wq" "yank" ex-yank "!" ex-command "=" ex-line-no ">" "right" "<" "left" "&" "~" "append" "args" "change" "insert" "open" error format "%s: no such command from VIP" "abbreviate" "list" "next" "print" "preserve" "recover" "rewind" "source" "unabbreviate" "xit" "z" "%s: not implemented in VIP" "%s: Not an editor command"] 88))
|]" error "Extra characters at end of \"k\" command" "\"k\" requires a following letter" "Mark must specify a letter"] 10)) point-to-register 97 1] 4))
?Äl ÉÈÄxâ Èãp!Ç" [t ex-file buffer-file-name ex-variant end ex-addresses beg ex-append q-flag vip-default-ex-addresses vip-get-ex-file string= "" error "No file associated with this buffer" expand-file-name file-exists-p format "\"%s\" File exists - use w! to override" "First address exceeds second" vip-enlarge-region write-region mark delete-auto-save-file-if-necessary kill-buffer] 19))
(defun ex-yank nil "\
ex yank" (byte-code "² È˚ È @ A@
Vĸ³!ÈÊ˝
\"È˛ ÈÅ%Ä+¸ˇ!ÈÂ;—`!ȱS!Á>—!È˝`¼ \"ÈÄM¸½!ÈÄ[¾`¼ ¨$Èà`¼ \")*Ç" [end ex-addresses beg ex-g-flag ex-g-variant ex-count ex-flag ex-buffer nil vip-default-ex-addresses vip-get-ex-buffer error "First address exceeds second" vip-enlarge-region exchange-point-and-mark "Can't yank within global" set-mark forward-line mark "Extra chacters at end of command" copy-to-register copy-region-as-kill] 18))