📄 help.ae
字号:
the most recently deleted word at the cursor.end of lineeol 'End of line' is initially assigned to control-O and uses the symbol'eol'. 'End of line' does exactly what you would expect it to do, which isto move the cursor to the end of the current line. If you are already at theend of the line, 'end of line' will move the cursor to the end of the next line.begin of linebol 'Begin of line' is initially assigned to control-D, and uses the symbol'bol'. 'Begin of line' moves the cursor to the beginning of the current line.If you are at the start of the current line, 'begin of line' will move you to the beginning of the previous line.end of texteot 'End of text' is initially assigned to control-B, and uses the symbol 'eot'. 'End of text' moves the cursor to the bottom of the current buffer.begin of textbot 'Begin of text' is initially assigned to control-T, and uses the symbol'bot'. 'Begin of text' moves the cursor to the top of the current buffer.next pagenp 'Next page' is initially assigned to control-N, and if your terminal has it, the key NEXT PAGE. 'Next page' uses the symbol 'np'. 'Next page' moves the cursor forward several lines, depending on the size of your terminal screen, and the number of lines the current buffer occupies on the screen.previous pagepp 'Previous page' is initially assigned to control-P, and if your terminal has it, the key PREV PAGE. 'Previous page' uses the symbol 'pp'.'Previous page' moves the cursor forward several lines, depending on the size of your terminal screen, and the number of lines the current buffer occupies onthe screen.next buffernb 'Next buffer' is initially assigned to gold control-N, and uses the symbol 'nb'. 'Next buffer' moves you to the next buffer in the order of buffercreation. If you have windows active, your cursor will be placed in the nextbuffer, otherwise the screen is erased and the next buffer replaces the currentbuffer on the screen. The name of the buffer is also displayed on the commandline.previous bufferpb 'Previous buffer' is initially assigned to gold control-P, and uses thesymbol 'pb'. 'Previous buffer' moves you to the previous buffer in the orderof buffer creation. If you have windows active, your cursor will be placed inthe next buffer, otherwise the screen is erased and the next buffer replaces the current buffer on the screen. The name of the buffer is also displayed on the command line.gold 'Gold' is initially assigned to control-G, and f1. 'Gold' allows theuser to have two functions assigned to keys, one is the function executed whenpressing the key, and the other is executed when the key is pressed immediatelyafter pressing the gold key. 'Gold' also allows the user to repeat a single keystroke many times. Simply press the key assigned to GOLD, enter the number of repetitions you wish, then press the key you wish to be repeated (or GOLD and key).insert lineil 'Insert line' is initially assigned to the key INSERT LINE on your keyboard, and uses the symbol 'il'. 'Insert line' will terminate the line atthe current cursor position and put the rest of the line at the start of thenext line. search promptpsrch 'Search prompt' is initially assigned to the key gold control-F, andgold f5. 'Search prompt' uses the symbol 'psrch'. 'Search prompt' causes a prompt to appear on the command line asking for the string to be found. If you have executed the 'mark' function, all text from the current cursor position to the start of the string will be marked. You may also use metacharacters in your search string, as well as have aee be case sensitive during search operations. See topics 'case' and 'literal' for more information. To search for a carriage return, a backspace, or control-v, presscontrol-v, and then the desired character. The control-v character is requiredsince the backspace character is used for string editing, and carriage-return is used for string termination.searchsrch 'Search' is initially assigned to control-F and f5, and uses the symbol'srch'. 'Search' searches for the last string prompted for after executing'search prompt'. replace promptprp 'Replace prompt' is initially assigned to gold control-Z, and uses the symbol 'prp'. 'Replace prompt' asks the user for the string to be replaced,and the string to replace it with. This is accomplished by entering the initial string surrounded by a delimiter character which is not in the string itself, as follows: /old/new/where "old" is the string to be found and replaced, and "new" is the stringto replace "old" with. You may also use metacharacters in your first string (the string to bereplaced), as well as have the search operation be case sensitive. See the topics 'case' and 'literal'. It is possible to place the original string into the new string duringthe replace operation, by inserting an ampersand (&) into the new string whereyou wish to re-insert the old string. This can only be done if in the 'noliteral' mode. To place an ampersand into the new string precede it with abackslash (\).see 'replace'replacerp 'Replace' is initially assigned to control-Z, and uses the symbol 'rp'.'Replace' uses the data obtained when the user executes the function 'replaceprompt' to search for a string and then replace it with the new string. 'Replace' prompts the user each time it finds a match to the old string as towhether or not to replace this occurrence. The beginning of the old stringfound is highlighted, and the prompt asks the user to respond with a carriagereturn or 'r' to replace the string, 'a' to replace all occurrences, 's' toskip this occurrence, or 'q' to quit replacing strings.forwardfwd 'Forward' is initially assigned to GOLD control-V, and uses the symbol'fwd'. 'Forward' allows the user to specify that the next search or replace operation will search forward of the current cursor position.reverserev 'Reverse' is initially assigned to GOLD control-r, and uses the symbol'rev'. 'Reverse' allows the user to specify that the next search or replaceoperation will search above or before the current cursor position.advance lineal 'Advance line' is initially assigned to f8, and uses the symbol 'al'.'Advance line' moves the cursor to the beginning of the next line.advance wordaw 'Advance word' is initially assigned to f4, and uses the symbol 'aw'.'Advance word' moves the cursor forward to the next character after the following spaces and/or tabs.previous wordpw 'Previous word' is initially assigned to gold control-Y, and uses the symbol 'pw'. 'Previous word' moves the cursor to the first character of the word to the left of the current cursor position.mark 'Mark' is initially assigned to control-U and f6. 'Mark' causes thetext over which the cursor moves to be "marked" until you execute either the'cut' or 'copy' function. This causes the text to be placed into a bufferso that you may place it elsewhere in your file using the 'paste' function.You may delete the marked text (using the 'cut' function) or simply copy thetext (using the 'copy' function). Once the text is in the buffer, you mayinsert it anywhere in your buffer as many times as you like. The textcontained in the buffer before pressing 'mark' is lost. prefix 'Prefix' is initially assigned to gold control-D, and uses the symbol 'prefix'. 'Prefix' performs the same function as 'mark', except that the text marked is added to the current contents of the paste buffer (it is placed before the previous contents, hence 'prefix'). append 'Append' is initially assigned to gold control-B, and uses the symbol 'append'. 'Append' performs the same function as 'mark', except that the text marked is added to the current contents of the paste buffer (it is placed at the end of the previous contents, hence 'append').pastepst 'Paste' is initially assigned to gold control-V and gold f7, and uses the symbol 'pst'. 'Paste' causes the text you placed into the paste bufferusing the 'mark' function to be inserted into the current buffer starting at the current cursor position.cut 'Cut' is initially assigned to control-X and f7. 'Cut' causes the marked text to be removed from the buffer. You can insert this text in a buffer anywhere you wish by using the 'paste' function.copy 'Copy' is initially assigned to gold control-C and gold f6. 'Copy'causes the marked text in the current buffer to be "unmarked", but still causesit to be placed into the buffer for use with the 'paste' function.unmark 'Unmark' causes the marked test to be unmarked, and leaves the previous contents of the paste buffer intact. The 'unmark' function is initially unassigned. The symbol for 'unmark' is 'unmark'.ascii characterac 'ASCII character' is initially assigned to control-A, and uses the symbol 'ac'. 'ASCII character' prompts the user form the decimal form of theASCII code for the desired character, and then inserts it at the current cursorposition.matchmc 'Match' is initially assigned to gold control-A, and uses the symbol'mc'. If the cursor is on a parenthesis (), a bracket [], a brace {}, orangle bracket <>, 'match' will find the character which will be of the same level (skip nested characters), and place the cursor on it.format 'Format' is initially assigned to gold control-F, and uses the symbol 'format'. By pressing the function 'format', you will cause the paragraph in which the cursor currently resides to be left and right adjusted according the the current margin settings. You must have 'nowrap' set, so that aee knows to observe the margins, otherwise no operations will occur.commandcmd 'Command' is initially assigned to control-E, and gold f8.'Command' is assigned to so many keys because some people assign shell operations to various keys, and since this function is so vital, it is hopedthat no one will have assigned operations to all of the keys used for this function. 'Command' prompts the user for the name of the operation to be performed, and those operations are described under "commands" in the first topic selection. 'Command' uses the symbol 'cmd'.up 'Up' is initially assigned to the up-arrow key. This function causes the cursor to move to the previous line in the same horizontal position it currently occupies.down 'Down' is initially assigned to the down-arrow key. This function causes the cursor to move to the next line in the same horizontal position itcurrently occupies.left 'Left' is initially assigned to the left-arrow key. 'Left' moves thecursor to the left of the current cursor position, unless it is at the beginning of a line, in which case it moves to the last character of the previous line.right 'Right' is initially assigned to the right-arrow key. 'Right' moves the cursor to the right or the current cursor position, unless it is at the endof the line, in which case it moves to the start of the next line.redrawrd 'Redraw' is initially assigned to control-R, and uses the symbol 'rd'.'Redraw' erases the screen and then redraws them, clearing the screen of anygarbage introduced by messages from outside the editor.backspacebck 'Backspace' is initially assigned to the BACKSPACE key, and uses the symbol 'bck'. 'Backspace' deletes the character to the left of the cursorand places it in a buffer. The character may be "undeleted" using the function'undelete character'.carriage returncr 'Carriage return' is assigned to the RETURN key, and uses the symbol 'cr'. 'Carriage return' terminates a line and moves the cursor to the start ofthe next line.init.ae The file 'init.ae' may be used to set parameters and define keys to perform certain functions within ae. This file may reside in three locations: /usr/local/lib/init.ae, .init.ae in your home directory, and .init.ae in the current working directory. First, aee checks for a system level initialization file, located in /usr/local/lib. Next the user's home directory is checked for a file named .init.ae, then the current directory. The settings from each file are read, so that the directives from the most recently read file will take precedence over previously read files. This allows, for example, the .init.ae file in the user's home directory to specify tab expansion, while the .init.ae file in the current working directory specifies no tab expansion. This allows the user to establish global settings and to automatically override them for specific directories if desired. The 'init.ae' file may be used to set aee to consider upper and lowercase (using the 'case' and 'nocase' commands), whether or not buffers will co-exist on the screen ('windows', 'nowindows'), and define function and control keys (the 'define' command). See the above mentioned topics for details on syntax and usage. An example follows: define ^l dl define gold ^l udl case nowindowsThis file would disable windows, cause aee to be case sensitive, and definecontrol-L to execute the function 'delete line', and gold control-L to executethe function 'undelete line'.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -