emacs is a
big program (taking up to 30MB), but it does not include every mode that has been
written. Sometimes you have to go hunting for the thing you need.
emacs is easy to start up (type emacs
from the shell prompt), and navigation
can be pretty easy.
Unlike vim, emacs has its own interface (vim shows up just in the shell) with menus and
mouse support, although it is not quite as pretty as under X. Unless you include a mode
command when you launch it, emacs assumes you want to write text and loads in text fill
mode. If you don??™t want words to wrap at the end of a line, go to the Options menu or
type Alt+X+auto-f[TAB] to change the mode.
emacs also has a tutorial that will walk you through the basic commands and navigation
tools. In emacs, use Ctrl+H, and then press ???T??? to get to it. Here are some examples:
Simple navigation: Your arrow keys work fine, but these characters also move the cursor:
Left (backward one character) Ctrl+b
Right (forward one character) Ctrl+f
Up (previous line) Ctrl+p
Down (next line) Ctrl+n
Delete character Ctrl+d
Delete line Ctrl+k (kill)
Transpose 2 characters Ctrl+t
Transpose 2 words Alt+t
Cut character Ctrl+d
Cut word Esc+d
Copy selected text Esc+w
Paste Ctrl+y
Undo Ctrl+x, u
Editing Text 87
5
Save Ctrl+x, Ctrl+s (one right after the other)
Find text in file Ctrl+S , (Forward) Ctrl+r
(Backward)
Changing mode from Insert to Command Ctrl+x
Quit without saving Ctrl+x, Ctrl+c
Most of the other clones of emacs (aficionados use the plural emacsen) are subsets of the
original designed for specific uses.
Pages:
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254