x delete character dd delete line :wq save changes and exit : means an ed command :q! quit, do not save changes i go into input mode (insert) a go into input mode (append) o go into input mode (open new line) If arrow keys don't move cursor: h i j k do.
:$ goto end of file :r fil1 import file :j join two lines together #yy yank # lines to buffer p paste buffer contents ^f ctrl f scroll forward page ^b scroll backgvim X-enabled.
the ne plus ultra of editors.
emacs -nw to run in an xterm
source code formatting "IDE"
extensible (has built-in Lisp system for creating commands, binding to keystrokes)
email reader, ange-ftp, news reader, file manager, run a shell inside emacs.
Always in input mode. Menu-driven commands (icons in xemacs), or keyboard are issued by holding Control or Alt.
Cursor movement by arrow keys, Home, End, Page Up, Page Down.
But if those keys don't work on your system (it's configurable):
up line ^P (means holding Ctrl, press lowercase p) down line ^N beginning line ^A end of line ^E down page ^V up page M-V (means holding Alt, press lowercase v) M is 'meta' (emacs jargon). Might be press and release Esc on some sYstems. Deleting text: char ^D or maybe Delete. Backspace deletes char to left of cursor line ^K word M-DA group of lines that was just deleted can be pasted by ^Y
Save changes ^XS holding Control, press x then s Quit ^XC Load a file ^XF will be prompted for name of file Insert a file ^X i (means do ^X followed by i, without holding ctrl) Undo ^X u Cancel ^G to stop some inadvertant command reformat paragraph M-Q switch to other buffer ^X b one buffer only ^X 1hundreds of other commands, including Eliza psychotherapist (M-X doctor)