Type Ch or F1 and follow the di rections If you are a 64257rsttime user type Ch t for a tutorial remove help window Cx 1 scroll help window CMv apropos show commands matching a string Ch a describe the function a key runs Ch k describe a function C ID: 25774
Download Pdf The PPT/PDF document "GNU Emacs Reference Card for version St..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
GNUEmacsReferenceCard(forversion27)StartingEmacsToenterGNUEmacs27,justtypeitsname:emacsLeavingEmacssuspendEmacs(oriconifyitunderX)C-zexitEmacspermanentlyC-xC-cFilesreadaleintoEmacsC-xC-fsavealebacktodiskC-xC-ssavealllesC-xsinsertcontentsofanotherleintothisbuerC-xireplacethislewiththeleyoureallywantC-xC-vwritebuertoaspeciedleC-xC-wtoggleread-onlystatusofbuerC-xC-qGettingHelpThehelpsystemissimple.TypeC-h(orF1)andfollowthedi-rections.Ifyouarearst-timeuser,typeC-htforatutorial.removehelpwindowC-x1scrollhelpwindowC-M-vapropos:showcommandsmatchingastringC-hadescribethefunctionakeyrunsC-hkdescribeafunctionC-hfgetmode-specicinformationC-hmErrorRecoveryabortpartiallytypedorexecutingcommandC-grecoverleslostbyasystemcrashM-xrecover-sessionundoanunwantedchangeC-xu,C-_orC-/restoreabuertoitsoriginalcontentsM-xrevert-bufferredrawgarbagedscreenC-lIncrementalSearchsearchforwardC-ssearchbackwardC-rregularexpressionsearchC-M-sreverseregularexpressionsearchC-M-rselectprevioussearchstringM-pselectnextlatersearchstringM-nexitincrementalsearchRETundoeectoflastcharacterDELabortcurrentsearchC-gUseC-sorC-ragaintorepeatthesearchineitherdirection.IfEmacsisstillsearching,C-gcancelsonlythepartnotmatched.c 2020FreeSoftwareFoundation,Inc.Permissionsonback.MotionentitytomoveoverbackwardforwardcharacterC-bC-fwordM-bM-flineC-pC-ngotolinebeginning(orend)C-aC-esentenceM-aM-eparagraphM-{M-}pageC-x[C-x]sexpC-M-bC-M-ffunctionC-M-aC-M-egotobuerbeginning(orend)M--453;倀M-scrolltonextscreenC-vscrolltopreviousscreenM-vscrollleftC-xscrollrightC-x]TJ/;ó 7;.970; Tf; -17;.8 ;-9.5;d T; [0;scrollcurrentlinetocenter,top,bottomC-lgotolineM-gggotocharM-gcbacktoindentationM-mKillingandDeletingentitytokillbackwardforwardcharacter(delete,notkill)DELC-dwordM-DELM-dline(toendof)M-0C-kC-ksentenceC-xDELM-ksexpM--C-M-kC-M-kkillregionC-wcopyregiontokillringM-wkillthroughnextoccurrenceofcharM-zcharyankbacklastthingkilledC-yreplacelastyankwithpreviouskillM-yMarkingsetmarkhereC-@orC-SPCexchangepointandmarkC-xC-xsetmarkargwordsawayM-@markparagraphM-hmarkpageC-xC-pmarksexpC-M-@markfunctionC-M-hmarkentirebuerC-xhQueryReplaceinteractivelyreplaceatextstringM-%usingregularexpressionsM-xquery-replace-regexpValidresponsesinquery-replacemodearereplacethisone,goontonextSPCoryreplacethisone,don'tmove,skiptonextwithoutreplacingDELornreplaceallremainingmatches!backuptothepreviousmatch^exitquery-replaceRETenterrecursiveedit(C-M-ctoexit)C-rMultipleWindowsWhentwocommandsareshown,thesecondisasimilarcom-mandforaframeinsteadofawindow.deleteallotherwindowsC-x1C-x51splitwindow,aboveandbelowC-x2C-x52deletethiswindowC-x0C-x50splitwindow,sidebysideC-x3scrollotherwindowC-M-vswitchcursortoanotherwindowC-xoC-x5oselectbuerinotherwindowC-x4bC-x5bdisplaybuerinotherwindowC-x4C-oC-x5C-ondleinotherwindowC-x4fC-x5fndleread-onlyinotherwindowC-x4rC-x5rrunDiredinotherwindowC-x4dC-x5dndtaginotherwindowC-x4.C-x5.growwindowtallerC-x^shrinkwindownarrowerC-x{growwindowwiderC-x}Formattingindentcurrentline(mode-dependent)TABindentregion(mode-dependent)C-M-\indentsexp(mode-dependent)C-M-qindentregionrigidlyargcolumnsC-xTABindentforcommentM-;insertnewlineafterpointC-omoverestoflineverticallydownC-M-odeleteblanklinesaroundpointC-xC-ojoinlinewithprevious(witharg,next)M-^deleteallwhitespacearoundpointM-\putexactlyonespaceatpointM-SPCllparagraphM-qsetllcolumntoargC-xfsetprexeachlinestartswithC-x.setfaceM-oCaseChangeuppercasewordM-ulowercasewordM-lcapitalizewordM-cuppercaseregionC-xC-ulowercaseregionC-xC-lTheMinibuerThefollowingkeysaredenedintheminibuer.completeasmuchaspossibleTABcompleteuptoonewordSPCcompleteandexecuteRETshowpossiblecompletions?fetchpreviousminibuerinputM-pfetchlaterminibuerinputordefaultM-nregexpsearchbackwardthroughhistoryM-rregexpsearchforwardthroughhistoryM-sabortcommandC-gTypeC-xESCESCtoeditandrepeatthelastcommandthatusedtheminibuer.TypeF10toactivatemenubaritemsontextterminals. GNUEmacsReferenceCardBuersselectanotherbuerC-xblistallbuersC-xC-bkillabuerC-xkTransposingtransposecharactersC-ttransposewordsM-ttransposelinesC-xC-ttransposesexpsC-M-tSpellingCheckcheckspellingofcurrentwordM-$checkspellingofallwordsinregionM-xispell-regioncheckspellingofentirebuerM-xispell-buffertoggleon-the- yspellcheckingM-xflyspell-modeTagsndatag(adenition)M-.ndnextoccurrenceoftagC-uM-.specifyanewtagsleM-xvisit-tags-tableregexpsearchonalllesintagstableM-xtags-searchrunquery-replaceonallthelesM-xtags-query-replacecontinuelasttagssearchorquery-replaceM-,ShellsexecuteashellcommandM-!executeashellcommandasynchronouslyM-&runashellcommandontheregionM-|lterregionthroughashellcommandC-uM-|startashellinwindow*shell*M-xshellRectanglescopyrectangletoregisterC-xrrkillrectangleC-xrkyankrectangleC-xryopenrectangle,shiftingtextrightC-xroblankoutrectangleC-xrcprexeachlinewithastringC-xrtAbbrevsaddglobalabbrevC-xagaddmode-localabbrevC-xaladdglobalexpansionforthisabbrevC-xaigaddmode-localexpansionforthisabbrevC-xailexplicitlyexpandabbrevC-xaeexpandpreviousworddynamicallyM-/MiscellaneousnumericargumentC-unumnegativeargumentM--quotedinsertC-qcharRegularExpressionsanysinglecharacterexceptanewline.(dot)zeroormorerepeats*oneormorerepeats+zerooronerepeat?quotespecialcharacters\quoteregularexpressionspecialcharacterc\calternative(\or")\|grouping\(:::\)shygrouping\(:?:::\)explicitnumberedgrouping\(:NUM:::\)sametextasnthgroup\natwordbreak\bnotatwordbreak\Bentitymatchstartmatchendline^$word\-645;䀀\symbol\_-592; \_buer\`\'classofcharactersmatchthesematchothersexplicitset[:::][^:::]word-syntaxcharacter\w\Wcharacterwithsyntaxc\sc\Sccharacterwithcategoryc\cc\CcInternationalCharacterSetsspecifyprincipallanguageC-xRETlshowallinputmethodsM-xlist-input-methodsenableordisableinputmethodC-\setcodingsystemfornextcommandC-xRETcshowallcodingsystemsM-xlist-coding-systemschoosepreferredcodingsystemM-xprefer-coding-systemInfoentertheInfodocumentationreaderC-hindspeciedfunctionorvariableinInfoC-hSMovingwithinanode:scrollforwardSPCscrollreverseDELbeginningofnodebMovingbetweennodes:nextnodenpreviousnodepmoveupuselectmenuitembynamemselectnthmenuitembynumber(1{9)nfollowcrossreference(returnwithl)freturntolastnodeyousawlreturntodirectorynodedgototopnodeofInfoletgotoanynodebynamegOther:runInfotutorialhlookupasubjectintheindicesisearchnodesforregexpsquitInfoqRegisterssaveregioninregisterC-xrsinsertregistercontentsintobuerC-xrisavevalueofpointinregisterC-xrSPCjumptopointsavedinregisterC-xrjKeyboardMacrosstartdeningakeyboardmacroC-x(endkeyboardmacrodenitionC-x)executelast-denedkeyboardmacroC-xeappendtolastkeyboardmacroC-uC-x(namelastkeyboardmacroM-xname-last-kbd-macroinsertLispdenitioninbuerM-xinsert-kbd-macroCommandsDealingwithEmacsLispevalsexpbeforepointC-xC-eevalcurrentdefunC-M-xevalregionM-xeval-regionreadandevalminibuerM-:loadaLisplibraryfromload-pathM-xload-librarySimpleCustomizationcustomizevariablesandfacesM-xcustomizeMakingglobalkeybindingsinEmacsLisp(example):(global-set-key(kbd"C-cg")'search-forward)(global-set-key(kbd"M-#")'query-replace-regexp)WritingCommands(defuncommand-name(args)"documentation"(interactive"template")body)Anexample:(defunthis-line-to-top-of-window(line)"Repositioncurrentlinetotopofwindow.WithprefixargumentLINE,putpointonLINE."(interactive"P")(recenter(if(nullline)0(prefix-numeric-valueline))))Theinteractivespecsayshowtoreadargumentsinterac-tively.TypeC-hfinteractiveRETformoredetails.Copyrightc 2020FreeSoftwareFoundation,Inc.ForGNUEmacsversion27DesignedbyStephenGildeaReleasedunderthetermsoftheGNUGeneralPublicLicenseversion3orlater.FormoreEmacsdocumentation,andtheTEXsourceforthiscard,seetheEmacsdistribution,orhttps://www.gnu.org/software/emacs