GNU Emacs GNU Emacs Reference Card Reference Card Computing and Information Technology Computing and Information Technology Replacing Text Replacing Text Replace foo with bar M-x replace-string Replace foo with bar M-x replace-string foo bar foo bar Query replacement M-x query replace Query replacement M-x query replace then replace <Space> then replace <Space> then skip to next <Backspace> then skip to next <Backspace> then replace and exit <Period> then replace and exit <Period> then replace all ! then replace all ! then go back ^ then go back ^ then exit query <Esc> then exit query <Esc> Setting a Mark Setting a Mark Set mark here C-<Space> or C-@ Set mark here C-<Space> or C-@ Exchange point and mark C-x C-x Exchange point and mark C-x C-x Mark paragraph M-h Mark paragraph M-h Mark entire file C-x h Mark entire file C-x h Sorting Text Sorting Text Normal sort M-x sort-lines Normal sort M-x sort-lines Reverse sort <Esc>-1 M-x sort lines Reverse sort <Esc>-1 M-x sort lines Inserting Text Inserting Text Scan file fn M-x view-file fn Scan file fn M-x view-file fn Write buffer to file fn M-x write-file fn Write buffer to file fn M-x write-file fn Insert file fn into buffer M-x insert-file fn Insert file fn into buffer M-x insert-file fn Write region to file fn M-x write-region fn Write region to file fn M-x write-region fn Write region to end of file fn M-x append-to-file fn Write region to end of file fn M-x append-to-file fn Write region to beginning of Write region to beginning to specified buffer M-x prepend-to-buffer specified buffer M-x prepend-to-buffer Directory Operations Directory Operations Display verbose diretory C-x d Display verbose diretory C-x d Display concise directory C-x C-d Display concise directory C-x C-d Find a file C-x C-f Find a file C-x C-f Help Help Enter help system C-h Enter help system C-h Run help terminal C-h t Run help terminal C-h t Remove help window C-x 1 Remove help window C-x 1 Scroll help window M-C-v Scroll help window M-C-v Show command apropos C-h a Show command apropos C-h a Show function of a key C-h c Show function of a key C-h c Describe a function C-h f Describe a function C-h f Get mode-specific information C-h m Get mode-specific information C-h m Spell Checker Spell Checker Check word M-x ispell-word Check word M-x ispell-word Check region M-x ispell-region Check region M-x ispell-region Check buffer M-x ispell-buffer Check buffer M-x ispell-buffer Document Number: GEN-REF-002 Revised: March 2001 Document Number: GEN-REF-002 Revised: March 2001 ã 1995 Academic Services, CIT, University at Buffalo ã 1995 Academic Services, CIT, University at Buffalo Reference Cards summarize the commands and options for a specific Reference Cards summarize the commands and options for a specific application, application, For additional help, contact the CIT Help Desk, 216 Computing Center, at For additional help, contact the CIT Help Desk, 216 Computing Center, at (716) 645-3542, or send email to cit-helpdesk@buffaloedu, (716) 645-3542, or send email to cit-helpdesk@buffaloedu, GNU Emacs GNU Emacs Reference Card Reference Card Computing and Information Technology Computing and Information Technology Beginning a Session Beginning a Session Edit file fn emacs fn Edit file fn emacs fn Moving the Cursor Moving the Cursor Forward one character C-f Forward one character C-f Forward one word M-f Forward one word M-f Forward to end of line C-e Forward to end of line C-e Backward one character C-b Backward one character C-b Backward one word M-b Backward one word M-b Backward to beginning of line C-a Backward to beginning of line C-a Up one line C-p Up one line C-p Down one line C-n Down one line C-n Go to line number n M-x goto-line n Go to line number n M-x goto-line n Display current line number M-x what-line Display current line number M-x what-line Paging Through Text Paging Through Text Forward one screen C-v Forward one screen C-v Backward one screen M-v Backward one screen M-v Forward to end of file M-> Forward to end of file M-> Backward to beginning of file M-< Backward to beginning of file M-< Redraw screen C-l Redraw screen C-l Modifying Text Modifying Text Delete character before cursor <Backspace> Delete character before cursor <Backspace> Delete character under cursor C-d Delete character under cursor C-d Kill word before cursor M-<Backspace> Kill word before cursor M-<Backspace> Kill next word after cursor M-d Kill next word after cursor M-d Kill to end of line C-k Kill to end of line C-k Kill to beginning of line C-x <Delete> Kill to beginning of line C-x <Delete> Kill to end of current sentence M-k Kill to end of current sentence M-k Kill to beginning of current Kill to beginning of current sentence C-x <Backspace> sentence C-x <Backspace> Recovering Text (Yanking) Recovering Text (Yanking) Yank back last thing killed C-y Yank back last thing killed C-y Yank back pervious text M-y Yank back pervious text M-y Searching Searching Search forward C-s Search forward C-s Search backward C-r Search backward C-r Exit search <Esc> Exit search <Esc> Saving Saving Save file C-x C-s Save file C-x C-s Save file and exit C-x C-c Save file and exit C-x C-c Suspend emacs C-z Suspend emacs C-z C-chr Keystroke combination of holding down the C-chr Keystroke combination of holding down the <Control> key and pressing chr <Control> key and pressing chr M-chr Keystroke combination of holding down the M-chr Keystroke combination of holding down the <Meta> key and pressing chr <Meta> key and pressing chr If there is no <Meta> key on your keyboard, If there is no <Meta> key on your keyboard, press <Esc>, release, and then press chr press <Esc>, release, and then press chr.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages2 Page
-
File Size-