emacs


To force emacs to open in a terminal window (and not a new x-window): emacs -nw

spell check buffer: `M-x ispell' this notation means "press escape, then x, then the command"
  r : Enter a new spelling
  spacebar : leave the word unchanged
  a : accept this spelling for all buffers during current session only
  i : accept this spelling and add it to personal dictionary
  X : halt spell checker at current location

Installing ispell on a mac: brew install ispell

ctrl-r to search backwards will help you find the end of a document
option-click lets you paste into an x11 window using a mac. (This is a feature of x11, not emacs.)
ctrl-/ = undo
ctrl-L centers the page so the cursor is in the middle of the screen.
ctrl-x ctrl-x toggles between the start of the document and where you first press ctrl-x.
ctrl-x ctrl-w save as
ctrl-x ctrl-s save

M-> jump to the end of the document
To page down: ctrl-V
To page up: esc V
To skip to a specific line number: M-x goto-line

To reset the backspace and delete keys: M-x normal-erase-is-backspace-mode
To permanently fix backspace/delete issues add this to your .emacs file: (By Jordi Burguet-Castell)
(normal-erase-is-backspace-mode 1)
To enable very handy features like color-coding and place-saving create a .emacs file in your home directory. (New .emacs file updated on 230809.)
The x-window version of emacs can help you create this file interactively when you select the "Options" menu. The x-window version of emacs also has a nice FAQ section under the "Help" menu.

Back to Resources