📄 jove.5
字号:
andtry again..dc "shell-command-no-buffer" "Not Bound"This is just like.IQ shell-commandexcept it just runs the command without saving the output to any buffer.It will report the success of the command in the usual way..dc "shell-command-to-buffer" "Not Bound"This is just like.IQ shell-commandexcept it lets you specify thebuffer to use instead of \s-2JOVE\s0..dc "shell-command-with-typeout" "Not Bound"This is just like.IQ shell-commandexcept that instead of saving the output to a buffer, and displayingit in a window, this just types out the output in the same way that.IQ list-buffersdoes. Actually, how this behaves depends on the value of the variable.IQ send-typeout-to-buffer.If it is on then shell-command-with-typeout will behave just like.IQ shell-command..dc "shell-flags" "(variable)"This defines the flags that are passed to shell commands. The default is"-c". See the.IQ shellvariable to change the default shell..dc "shift-region-left" "Not Bound"This shifts the region left by c-indentation-increment OR by the numericargument, if one is supplied. If a negative argument is supplied theregion is shifted the other way..dc "shift-region-right" "Not Bound"This shifts the region left by c-indentation-increment OR by the numericargument, if one is supplied. If a negative argument is supplied theregion is shifted the other way..dc "show-match-mode" "Not Bound"This turns on Show Match mode (or off if it's currently on) in theselected buffer. This changes "}", ")" and "]" so that when they aretyped the are inserted as usual, and then the cursor flashes back to thematching "{", "(" or "[" (depending on what was typed) for about half asecond, and then goes back to just after the "}", ")" or "]" that invokedthe command. This is useful for typing in complicated expressions in aprogram. You can change how long the cursor sits on the matching parenby setting the "paren-flash-delay" variable in tenths of a second. Ifthe matching "{", "(" or "[" isn't visible, the line containing the matchis displayed at the bottom of the screen..dc "shrink-window" "Not Bound"This makes the current window one line shorter, if possible. Windowsmust be at least 2 lines high, one for the text and the other for themode line..dc "source" "Not Bound"This reads a bunch of \s-2JOVE\s0 commands from a file. The format of thefile is the same as that in your initialization file (your ".joverc")in your main directory. There should be one command per line and itshould be as though you typed "ESC X" while in \s-2JOVE\s0. For example,here's part of my initialization file:.DS Ibind-to-key i-search-reverse ^Rbind-to-key i-search-forward ^Sbind-to-key pause-jove ^[S.DEWhat they do is make "C-R" call the.IQ i-search-reversecommand and"C-S" call.IQ i-search-forwardand "ESC S" call.IQ pause-jove..dc "spell-buffer" "Not Bound"This runs the current buffer through the UNIX.IQ spellprogram and placesthe output in buffer "Spell". Then \s-2JOVE\s0 lets you edit the list ofwords, expecting you to delete the ones that you don't care about, i.e., theones you know are spelled correctly. Then the.IQ parse-spelling-errors-in-buffercommand comes along and finds all themisspelled words and sets things up so the error commands work..dc "split-current-window" "C-X 2"This splits the current window into two equal parts (providing theresulting windows would be big enough) and displays the selected bufferin both windows. Use "C-X 1" to go back to 1 window mode. If a numericargument is supplied, the window is split "evenly" that many times (whenpossible)..dc "start-remembering" "C-X ("This is just another name for the.IQ begin-kbd-macroname. It is included for backward compatibility..dc "stop-process" "Not Bound"This sends a stop signal (C-Z, for most people) to the current process.It only works if you have the interactive process feature, and you arein a buffer attached to a process..dc "stop-remembering" "C-X )"This is just another name for the.IQ end-kbd-macrocommand. It is included for backward compatibility..dc "string-length" "Not Bound"This prints the number of characters in the string that point sits in.Strings are surrounded by double quotes. \s-2JOVE\s0 knows that "\e007" isconsidered a single character, namely "C-G", and also knows aboutother common ones, like "\er" (Return) and "\en" (LineFeed). This ismostly useful only for C programmers..dc "suspend-jove" "ESC S"This is a synonym for.IQ pause-jove..dc "sync-frequency" "(variable)"The temporary files used by \s-2JOVE\s0 are forced out to disk every.IQ sync-frequencymodifications. The default is 50, which really makesgood sense. Unless your system is very unstable, you probablyshouldn't fool with this..dc "tag-file" "(variable)"This the name of the file in which \s-2JOVE\s0 should look up tagdefinitions. The default value is "./tags"..dc "text-mode" "Not Bound"This sets the major mode to Text. Currently the other modes areFundamental, C and Lisp mode..dc "tmp-file-pathname" "(variable)"This tells JOVE where to put the tmp files, which is where JOVE storesbuffers internally. The default is usually in /tmp, but if you want tostore them somewhere else, you can set this variable. If your systemcrashes a lot it might be a good idea to set this variable to somewhereother than /tmp because the system removes all the files in /tmp uponreboot, and so you would not be able to recover editor buffers using the"jove -r" command.NOTE: In order for this to work correctly you must set this variableBEFORE JOVE creates the tmp file. You can set this in your .joverc (thecloser to tbe beginning the better), or as soon as you start up JOVEbefore you visit any files..dc "transpose-characters" "C-T"This switches the character before point with the one after point, andthen moves forward one. This doesn't work at the beginning of theline, and at the end of the line it switches the two characters beforepoint. Since point is moved forward, so that the character that wasbefore point is still before point, you can use "C-T" to drag acharacter down the length of a line. This command pretty quicklybecomes very useful..dc "transpose-lines" "C-X C-T"This switches the current line with the one above it, and then movesdown one so that the line that was above point is still above point.This, like.IQ transpose-characters,can be used to drag a line down a page..dc "unbind-key" "Not Bound"Use this to unbind.IQ anykey sequence. You can use this to unbind even aprefix command, since this command does not use "key-map completion". Forexample, "ESC X unbind-key ESC [" unbinds the sequence "ESC [". This isuseful for "turning off" something set in the system-wide ".joverc" file..dc "update-time-frequency" "(variable)"How often the mode line is updated (and thus the time and loadaverage, if you display them). The default is 30 seconds..dc "use-i/d-char" "(variable)"If your terminal has insert/delete character capability you can tell \s-2JOVE\s0not to use it by setting this to "off". In my opinion it is only worth usinginsert/delete character at low baud rates. WARNING: if you set this to"on" when your terminal doesn't have insert/delete character capability,you will get weird (perhaps fatal) results..dc "version" "Not Bound"Displays the version number of this \s-2JOVE\s0..dc "visible-bell" "(variable)"Use the terminal's visible bell instead of beeping. This is setautomatically if your terminal has the capability..dc "visible-spaces-in-window" "Not Bound"This displays an underscore character instead of each space in thewindow and displays a greater-than followed by spaces for each tabin the window. The actual text in the buffer is not changed; onlythe screen display is affected. To turn this off you run the commandagain; it toggles..dc "visit-file" "C-X C-V"This reads a specified file into the current buffer replacing the oldtext. If the buffer needs saving \s-2JOVE\s0 will offer to save it for you.Sometimes you use this to start over, say if you make lots of changesand then change your mind. If that's the case you don't want \s-2JOVE\s0 tosave your buffer and you answer "NO" to the question..dc "window-find" "C-X 4"This lets you select another buffer in another window threedifferent ways. This waits for another character which can be one ofthe following:.DS I.ta .5i 1i 1.5iT Finds a tag in the other window.^T Finds the tag at point in the other windowF Finds a file in the other window.B Selects a buffer in the other window..DEThis is just a convenient short hand for "C-X 2" (or "C-X O" if there arealready two windows) followed by the appropriate sequence for invoking eachcommand. With this, though, there isn't the extra overhead of having toredisplay. In addition, you don't have to decide whether to type "C-X 2" or"C-X O" since "C-X 4" does the right thing..dc "word-abbrev-mode" "Not Bound"This turns on Word Abbrev mode (or off if it's currently on) in theselected buffer. Word Abbrev mode lets you specify a word (anabbreviation) and a phrase with which \s-2JOVE\s0 should substitute theabbreviation. You can use this to define words to expand into longphrases, e.g., "jove" can expand into "Jonathan's Own Version ofEmacs"; another common use is defining words that you often misspellin the same way, e.g., "thier" => "their" or "teh" => "the". Seethe information on the.IQ auto-case-abbrevvariable..sp 1There are two kinds of abbreviations: mode specific and global. If youdefine a Mode specific abbreviation in C mode, it will expand only inbuffers that are in C mode. This is so you can have the sameabbreviation expand to different things depending on your context.Global abbreviations expand regardless of the major mode of the buffer.The way it works is this: \s-2JOVE\s0 looks first in the mode specifictable, and then in the global table. Whichever it finds it in first isthe one that's used in the expansion. If it doesn't find the word it isleft untouched. \s-2JOVE\s0 tries to expand words as they are typed, whenyou type a punctuation character or Space or Return. If you are in AutoFill mode the expansion will be filled as if you typed it yourself..dc "wrap-search" "(variable)"If set, searches will "wrap around" the ends of the buffer insteadof stopping at the bottom or top. The default is "off"..dc "write-file" "C-X C-W"This saves the current buffer to a specified file, and then makes thatfile the default file name for this buffer. If you specify a filethat already exists you are asked to confirm over-writing it..dc "write-files-on-make" "(variable)"When set, all modified files will be written out before callingmake when the.IQ compile-itcommand is executed. The default is "on"..dc "write-macros-to-file" "Not Bound"This writes the currently defined macros to a specified file in a formatappropriate for reading them back in with the.IQ sourcecommand. The purpose of this command is to allow you to define macrosonce and use them in other instances of JOVE..dc "write-modified-files" "C-X C-M"This saves all the buffers that need saving. If you supply a numericargument it asks for each buffer whether you really want to save it..dc "write-region" "Not Bound"This writes the text in the region to a specified file. If the filealready exists you are asked to confirm over-writing it..dc "write-word-abbrev-file" "Not Bound"This writes the currently defined abbreviations to a specified file.They can be read back in and automatically defined with.IQ read-word-abbrev-file..dc "xterm-mouse" "Not Bound"This function enables the use of the mouse with \S-2JOVE\fP in anxterm window. The function is enabled when 'ansi-codes' is defined andthe function is bound to <escape><open-square-bracket>M.Moving the mouse and pressing the left button will set the pointto the mouse position and push it.Moving the mouse and pressing the right button will set the pointto the mouse position and yank the region from the last mark and thecurrent point.Moving the mouse and pressing the middle button will set the pointto the mouse position and paste the contents of the mouse button in place.Note that this in a \s-2JOVE\fP function and is independent of the normalcut and paste operations available under xterm.It is possible to bind these operations to SHIFT+the mouse button, so thatthey will work in addition to \s-2JOVE\fP cut and paste..dc "yank" "C-Y"This undoes the last kill command. That is, it inserts the killedtext at point. When you do multiple kill commands in a row, they aremerged so that yanking them back with "C\-Y" yanks back all of them..dc "yank-pop" "ESC Y"This yanks back previous killed text. \s-2JOVE\s0 has a kill ring on whichthe last 10 kills are stored..IQ yankyanks a copy of the text at thefront of the ring. If you want one of the last ten kills you use "ESCY" which rotates the ring so another different entry is now at thefront. You can use "ESC Y" only immediately following a "C-Y" oranother "ESC Y". If you supply a negative numeric argument the ringis rotated the other way. If you use this command enough times in arow you will eventually get back to where you started. Experimentwith this. It's extremely useful.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -