📄 elle.9
字号:
to describe)
ESC ; Insert a comment in a C program (generates /* */
for you)
^X X Exit the editor (same as ESC X and CTRL-X CTRL-X)
The major differences between ELLE with the mined profile and mined
itself are:
1. The definition of a 'word' is different for forward and backward
word
2. The mark is set with CTRL-^ instead of CTRL-@
3. Use CTRL-G to abort a command instead of CTRL-\
4. Use CTRL- to literally insert the next character, instead of ALT
5. CTRL-E adjusts the window to put the cursor in the middle of it
6. To get and insert a file, use ESC G instead of CTRL-G
7. To go to line n, type ESC n CTRL-[ instead of CTRL-[ n
8. You exit with CTRL-X CTRL-X and then answer the question with 'y'.
9. There are many new commands, windows, larger files, etc.
Emacs Key Bindings
If you do not have the mined profile installed, you get the
standard Emacs key bindings. These are listed below. Commands not
listed are not implemented.
CURSOR MOVEMENT
CTRL-F Forward one character.
CTRL-B Backward one character.
CTRL-H Same as CTRL-B: move backward one character.
ESC F Forward one word.
ESC B Backward one word.
CTRL-A Beginning of current line.
CTRL-E End of current line.
CTRL-N Next line (goes to the next line).
CTRL-P Previous line (goes to the previous line).
CTRL-V Beginning of next screenful.
ESC V Beginning of previous screenful.
ESC ] Forward Paragraph.
ESC [ Backward Paragraph.
ESC < Beginning of whole buffer.
ESC > End of whole buffer.
DELETING
CTRL-D Deletes forward one character (the one the cursor
is under).
DELETE Deletes backward one character (the one to left of
cursor).
ESC D Kills forward one word.
ESC DEL Kills backward one word.
CTRL-K Kills the rest of the line (to the right of the
cursor).
ESC \ Deletes spaces around the cursor.
^X CTRL-O Deletes blank lines around the cursor.
CASE CHANGE
ESC C Capitalizes word : first letter becomes uppercase;
rest lower
ESC L Makes the whole next word lowercase.
ESC U Makes the whole next word uppercase.
^X CTRL-L Makes whole region lowercase.
^X CTRL-U Makes whole region uppercase.
SEARCHING (If no string is given, previous string is used)
CTRL-S Incremental Search forward; prompts 'I-search:'
CTRL-R Reverse Incremental Search; prompts 'R-search:'
During an incremental search, the following
characters have special effects:
'normal' - Begin searching immediately.
^G - Cancel I-search, return to start.
DEL - Erase last char, return to last
match.
^S, ^R - Repeat search (or change direction).
ESC or CR - Exit I-search at current point.
ESC % Query Replace. Interactive replace. Type '?' to see
options.
^X % Replace String. Like Query Replace, but not
interactive
MARKING AREAS
CTRL-^ Set mark
^X CTRL-X Exchange cursor and mark.
ESC H Mark Paragraph. Sets mark and cursor to surround a
para.
CTRL-W Wipe-out -- kills a 'region':
ESC W Copy region. Like CTRL-W then CTRL-Y but modifies
buffer
CTRL-Y Yanks-back (un-kills) whatever you have most
recently killed.
ESC Y Yanks-back (un-kills) the next most recently killed
text.
ESC CTRL-W Append Next Kill. Accumulates stuff from several
kills
FILLING TEXT
ESC Q Fill the paragraph to the size of the Fill Column.
ESC G Fill the region.
^X F Set Fill Column. ESC Q will use this line size.
^X . Set Fill Prefix. Asks for prefix string
^X T Toggles Auto Fill Mode.
WINDOWS
^X 2 Make two windows (split screen).
^X 1 Make one window (delete window) (make one screen).
^X O Go to Other window.
^X ^ Grow window: makes current window bigger.
BUFFERS
^X CTRL-F Find a file and make a buffer for it.
^X B Select Buffer: goes to specified buffer or makes
new one
^X CTRL-B Show the names of the buffers used in this editing
session.
^X K Kill Buffer.
ESC tilde Say buffer is not modified.
^X CTRL-M Toggle EOL mode (per-buffer flag).
KEYBOARD MACRO
^X ( Start collecting a keyboard macro.
^X ) Stop collecting.
^X E Execute the collected macro.
^X * Display the collected macro.
FILES
^X CTRL-I Insert a file where cursor is.
^X CTRL-R Read a new file into current buffer.
^X CTRL-V Same as ^X ^R above (reads a file).
^X CTRL-W Write buffer out to new file name.
^X CTRL-S Save file: write out buffer to its file name.
^X CTRL-E Write region out to new file name.
MISCELLANEOUS
^X CTRL-Z Exit from ELLE.
^X ! Escape to shell (CTRL-D to return)
CTRL-O Open up line
LINEFEED Same as typing RETURN and TAB.
CTRL-T Transposes characters.
ESC T Transposes words.
CTRL-U Makes the next command happen four times.
CTRL-U number Makes the next command happen 'number' times.
ESC number Same as CTRL-U number.
CTRL-L Refreshes screen.
CTRL-U CTRL-L Refresh only the line cursor is on.
CTRL-U n CTRL-L Change window so the cursor is on line n
CTRL-Q Quote: insert the next character no matter what it
is.
CTRL-G Quit: use to avoid answering a question.
ESC ; Inserts comment (for writing C programs).
ESC I Inserts indentation equal to previous line.
ESC M Move to end of this line's indentation.
CTRL-_ Describe a command (if the command database is
online)
UNUSED CONTROLS
CTRL-C Not used.
CTRL-Z Not used.
CTRL-] Not used.
ELLE profile
It is possible to create your own user profile. The mechanism is
different from Emacs, since ELLE does not have Mock Lisp. Proceed as
follows.
Modify .ellepro.e to suit your taste.
Install .ellepro.e in your home directory.
Type:
ellec -Profile
Check to see if .ellepro.b1 has been created. If it has, you are
ready to go.
Author
ELLE was written by Ken Harrenstien of SRI (klh@sri.com).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -