📄 jove.5
字号:
.dc "make-backup-files" "(variable)"If this variable is set, then whenever \s-2JOVE\s0 writes out a file, it willmove the previous version of the file (if there was one) to "#filename".This is often convenient if you save a file by accident. The defaultvalue of this variable is "off"..IQ Note:this is an optional part of\s-2JOVE\s0, and your guru may not have it enabled, so it may not work..dc "make-buffer-unmodified" "ESC ~"This makes \s-2JOVE\s0 think the selected buffer hasn't been changed even ifit has. Use this when you accidentally change the buffer but don'twant it considered changed. Watch the mode line to see the * disappearwhen you use this command. .dc "make-keymap" "Not Bound"This creates an empty keymap with a name you supply. That name can beused to reference the keymap in other commands, such asbind-keymap-to-key..dc "make-macro-interactive" "Not Bound"This command is meaningful only while you are defining a keyboard macro,and when you are in the minibuffer. Ordinarily, when a command in a macrodefinition requires a trailing text argument (file name, search string,etc.), the argument you supply becomes part of the macro definition. Ifyou want to be able to supply a different argument each time the macro isused, then while you are defining it, you should give themake-macro-interactive command just before typing the argument which willbe used during the definition process. Note: you must bind this commandto a key in order to use it; you can't say "ESC X make-macro-interactive"..dc "mark-threshold" "(variable)"This variable contains the number of lines point may move by beforethe mark is set. If, in a search or something, point moves by morethan this many lines, the mark is set so that you may return easily.The default value of this variable is 22 (one screenful, on mostterminals)..dc "marks-should-float" "(variable)"When this variable is "off", the position of a mark is remembered as a linenumber within the buffer and a character number within the line. If you addor delete text before the mark, it will no longer point to the text youmarked originally because that text is no longer at the same line andcharacter number. When this variable is "on", the position of a mark isadjusted to compensate for each insertion and deletion. This makes marksmuch more sensible to use, at the cost of slowing down insertion anddeletion somewhat. The default value is "on"..dc "match-regular-expressions" "(variable)"When set, \s-2JOVE\s0 will match regular expressions in search patterns.This makes special the characters ., *, [, ], ^, and $, and the two-charactersequences \e<, \e>, \e\|{, \e\|} and \e\||.See the.IQ ed(1)manual page, the tutorial "Advanced Editing in .UX", and the section above "Searching with Regular Expressions"for more information..dc "meta-key" "(variable)"You should set this variable to "on" if your terminal has a real Meta key.If your terminal has such a key, then a key sequence like ESC Y can beentered by holding down Meta and typing Y. NOTE: In some systems, thisdisables interrupting noninteractive shell commands..dc "mode-line" "(variable)"The format of the mode line can be determined by setting this variable.The items in the line are specified using a format similar to that used by printf(3),with the special things being marked as "%x". Digits may be used between the'%' and the 'x' to mean repeat that many times.\&'x' may be:.DS I.ta .5i 1i 1.5i C check for new mail, and displays "[New mail]" if there is any (see also the mail-check-interval and disable-biff variables) F the current file name, with leading path stripped M the current list of major and minor modes b the current buffer name c the fill character (-) d the current directory e extra space in modeline is distributed evenly among the places %e is used (used for justifying, separating, or centering parts of the modeline) f the current file name l the current load average (updated automatically) mxy x, when the buffer is modified or y, when not n the current buffer number p interactive process status for process windows s space, but only if previous character is not a space t the current time (updated automatically) w a '>' for windows which are scrolled left [ ] the square brackets printed when in a recursive edit ( ) items enclosed in %( ... %) will only be printed on the bottom mode line, rather than copied when the window is split.DEIn addition, any other character is simply copied into the mode line.Characters may be escaped with a backslash. To get a feel for allthis, try typing "ESC X print mode-line" and compare the result withyour current mode line..dc "mode-line-color" "(variable)"This specifies the color of the modeline (PC version only). Its defaultvalue is 0, and in that case it is drawn in reverse video. If it has anyother value, this value is used as the attribute in the Bios calls..dc "mode-line-should-standout" "(variable)"If set, the mode line will be printed in reverse video, if yourterminal supports it. The default for this variable is "off"..dc "name-kbd-macro" "Not Bound"This copies the keyboard macro and gives it a name freeing up thekeyboard macro so you can define some more. Keyboard macros withtheir own names can be bound to keys just like built in commandscan. See the.IQ define-macro,.IQ sourceand.IQ write-macros-to-filecommands..dc "newline" "Return"This divides the current line at point moving all the text to theright of point down onto the newly created line. Point moves down tothe beginning of the new line..dc "newline-and-backup" "C-O"This divides the current line at point moving all the text to theright of point down onto the newly created line. The differencebetween this and "newline" is that point does not move down to thebeginning of the new line..dc "newline-and-indent" "LineFeed"This behaves the same was as Return does when in Auto Indent mode.This makes Auto Indent mode obsolete but it remains in the name ofbackward compatibility..dc "next-error" "C-X C-N"This moves to the next error in the list of errors that were parsedwith.IQ parse-errors.In one window the list of errors is shown with the current one always atthe top. In another window is the file that contains the error. Pointis positioned in this window on the line where the error occurred..dc "next-line" "C-N"This moves down to the next line..dc "next-page" "C-V"This displays the next page of the buffer by taking the bottom line ofthe window and redrawing the window with it at the top. If there isn'tanother page in the buffer \s-2JOVE\s0 rings the bell. If a numeric argumentis supplied the screen is scrolled up that many lines; if the argumentis negative the screen is scrolled down..dc "next-window" "C-X N"This moves into the next window. Windows live in a circular list sowhen you're in the bottom window and you try to move to the next oneyou are moved to the top window. It is an error to use this commandwith only one window..dc "number-lines-in-window" "Not Bound"This displays the line numbers for each line in the buffer beingdisplayed. The number isn't actually part of the text; it's justprinted before the actual buffer line is. To turn this off you runthe command again; it toggles..dc "over-write-mode" "Not Bound"This turns Over Write mode on (or off if it's currently on) in the selectedbuffer. When on, this mode changes the way the self-inserting characterswork. Instead of inserting themselves and pushing the rest of the line overto the right, they replace or over-write the existing character. Also,DEL replaces the character before point with a space instead of deletingit. When Over Write mode is on "OvrWt" is displayed on the mode line..dc "page-next-window" "ESC C-V"This displays the next page in the next window. This is exactly thesame as "C-X N C-V C-X P"..dc "paren-flash" ") } ]"This handles the C mode curly brace indentation, the Lisp mode parenindentation, and the Show Match mode paren/curly brace/square bracketflashing..dc "paren-flash-delay" "(variable)"How long, in tenths of seconds, \s-2JOVE\s0 should pause on a matchingparenthesis in.IQ Show Matchmode. The default is 5..dc "parse-errors" "Not Bound"This takes the list of C compilation errors (or output from another programin the same format) in the current buffer and parses them for use with the.IQ next-errorand.IQ previous-errorand.IQ current-errorcommands.This is a very useful tool and helps with compiling C programs and when usedin conjunction with the "grep" UNIX command very helpful in making changesto a bunch of files. This command understands errors produced by cc, cpp,and lint; plus any other program with the same format (e.g., "grep -n").\s-2JOVE\s0 visits each file that has an error and remembers each line thatcontains an error. It doesn't matter if later you insert or deletesome lines in the buffers containing errors; \s-2JOVE\s0 remembers wherethey are regardless..IQ current-erroris automatically executed after one of the parse commands, so you end upat the first error. See also.IQ error-format-stringto make it possible to parse errors of a different format..dc "parse-spelling-errors-in-buffer" "Not Bound"This parses a list of words in the current buffer and looks them up inanother buffer that you specify. This will probably go away soon..dc "pause-jove" "ESC S"This stops \s-2JOVE\s0 and returns control to the parent shell. Thisonly works for users using the C-shell, and on systems that have thejob control facility. To return to \s-2JOVE\s0 you type "fg" to the C-shell..dc "physical-tabstop" "(variable)"How many spaces your terminal prints when it prints a tab character..dc "pop-mark" "Not Bound"This gets executed when you run.IQ set-markwith a numeric argument.\s-2JOVE\s0 remembers the last 16 marks and you use.IQ pop-markto gobackward through the ring of marks. If you execute.IQ pop-markenoughtimes you will eventually get back to where you started..dc "popd" "Not Bound"This pops one entry off the directory stack. Entries are pushed withthe.IQ pushdcommand. The names were stolen from the C-shell and thebehavior is the same..dc "previous-error" "C-X C-P"This is the same as.IQ next-errorexcept it goes to the previous error.See.IQ next-errorfor documentation..dc "previous-line" "C-P"This moves up to the previous line..dc "previous-page" "ESC V"This displays the previous page of the current buffer by taking the topline and redrawing the window with it at the bottom. If a numericargument is supplied the screen is scrolled down that many lines; ifthe argument is negative the screen is scrolled up..dc "previous-window" "C-X P and C-X O"This moves into the next window. Windows live in a circular list sowhen you're in the top window and you try to move to the previous oneyou are moved to the bottom window. It is an error to use this commandwith only one window..dc "print" "Not Bound"This prints the value of a \s-2JOVE\s0 variable..dc "process-bind-keymap-to-key" "Not Bound"This is just like "bind-to-key" except that it starts at theprocess-keymap map, instead of the default mainmap..dc "process-bind-to-key" "Not Bound"This command is identical to bind-to-key, except that it only affectsyour bindings when you are in a buffer attached to a process. Whenyou enter the process buffer, any keys bound with this command willautomatically take their new values. When you switch to a non-processbuffer, the old bindings for those keys will be restored. For example,you might want to execute.DS Iprocess-bind-to-key stop-process ^Zprocess-bind-to-key interrupt-process ^C.DEThen, when you start up an interactive process and switch into thatbuffer, C-Z will execute stop-process and C-C will execute interrupt-process. When you switch back to a non-process buffer, C-Z will goback to executing scroll-up (or whatever you have it bound to)..dc "process-dbx-output" "Not Bound"This command only makes sense in a buffer running a shell process. Ifyou are running dbx in a window, JOVE will automatically find the fileyou are currently stepping through and display it in another window.The string DBX will appear in the modeline along with the other minormodes when this feature is enabled..dc "process-newline" "Return"This only gets executed when in a buffer that is attached to aninteractive-process. \s-2JOVE\s0 does two different things depending on whereyou are when you hit Return. When you're at the end of the I-Processbuffer this does what Return normally does, except it also makes theline available to the process. When point is positioned at some otherposition that line is copied to the end of the buffer (with the promptstripped) and point is moved there with it, so you can then edit thatline before sending it to the process. This command.IQ mustbe boundto the key you usually use to enter shell commands (Return), or elseyou won't be able to enter any..dc "process-prompt" (variable)What a prompt looks like from the shell and i-shell-commandprocesses. The default is "% ", the default C-shell prompt. This isactually a regular expression search string. So you can set it to bemore than one thing at once using the \e| operator. For instance, for
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -