Org-Mode Reference Card (1/2) - Cheat Sheet

cheat.sheets.org

Org-Mode Reference Card (1/2) - Cheat Sheet

Org-Mode Reference Card (1/2)Getting Started(for version 6.34c)To read the on-line documentation tryVisibility CyclingM-x org-inforotate current subtree between states TABrotate entire buffer between states S-TABrestore property-dependent startup visibility C-u C-u TABshow the whole file, including drawers C-u C-u C-u TABreveal context around point C-c C-rMotionnext/previous headingC-c C-n/pnext/previous heading, same level C-c C-f/bbackward to higher level heading C-c C-ujump to another place in document C-c C-jprevious/next plain list item S-UP/DOWN 3Structure Editinginsert new heading/item at current level M-RETinsert new heading after subtree C-RETinsert new TODO entry/checkbox item M-S-RETinsert TODO entry/ckbx after subtree C-S-RETturn (head)line into item, cycle item type C-c -turn item/line into headline C-c *promote/demote heading M-LEFT/RIGHTpromote/demote current subtree M-S-LEFT/RIGHTmove subtree/list item up/downsort subtree/region/plain-listclone a subtreerefile subtreekill/copy subtreeyank subtreenarrow buffer to subtree / widenArchivingM-S-UP/DOWNC-c ^C-c C-x cC-c C-wC-c C-x C-w/M-wC-c C-x C-y or C-yC-x n s/warchive subtree using the default command C-c C-x C-amove subtree to archive file C-c C-x C-stoggle ARCHIVE tag / to ARCHIVE sibling C-c C-x a/Aforce cycling of an ARCHIVEd tree C-TABFiltering and Sparse Treesconstruct a sparse tree by various criteria C-c /view TODO’s in sparse tree C-c C-vglobal TODO list in agenda mode C-c a t 1time sorted view of current org file C-c a LTablesCreating a tablejust start typing, e.g. |Name|Phone|Age RET |- TABconvert region to table C-c |... separator at least 3 spaces C-3 C-c |Commands available inside tablesThe following commands work when the cursor is inside a table.Outside of tables, the same keys may have other functionality.Re-aligning and field motionre-align the table without moving the cursorre-align the table, move to next fieldmove to previous fieldre-align the table, move to next rowmove to beginning/end of fieldRow and column editingmove the current column leftkill the current columninsert new column to left of cursor positionC-c C-cTABS-TABRETM-a/eM-LEFT/RIGHTM-S-LEFTM-S-RIGHTmove the current row up/down M-UP/DOWNkill the current row or horizontal line M-S-UPinsert new row above the current row M-S-DOWNinsert hline below (C-u : above) current row C-c -insert hline and move to line below it C-c RETsort lines in regionC-c ^Regionscut/copy/paste rectangular regionfill paragraph across selected cellsMiscellaneousC-c C-x C-w/M-w/C-yC-c C-qto limit column width to N characters, use ...| |...edit the current field in a separate window C-c ‘make current field fully visible C-u TABexport as tab-separated file M-x org-table-exportimport tab-separated file M-x org-table-importsum numbers in current column/rectangle C-c +Tables created with the table.el packageinsert a new table.el table C-c ~recognize existing table.el table C-c C-cconvert table (Org-mode ↔ table.el) C-c ~SpreadsheetFormulas typed in field are executed by TAB, RET and C-c C-c.= introduces a column formula, := a field formula.Example: Add Col1 and Col2 |=$1+$2 |... with printf format specification |=$1+$2;%.2f|... with constants from constants.el |=$1/$c/$cm |sum from 2nd to 3rd hline |:=vsum(@II..@III)|apply current column formula | = |set and eval column formula C-c =set and eval field formula C-u C-c =re-apply all stored equations to current line C-c *re-apply all stored equations to entire table C-u C-c *iterate table to stability C-u C-u C-c *rotate calculation mark through # * ! ˆ $ C-#show line, column, formula reference C-c ?toggle grid / debugger C-c }/{Formula Editoredit formulas in separate buffer C-c ’exit and install new formulas C-c C-cexit, install, and apply new formulas C-u C-c C-cabortC-c C-qtoggle reference styleC-c C-rpretty-print Lisp formula TABcomplete Lisp symbolM-TABshift reference pointS-cursorshift test line for column references M-up/downscroll the window showing the table M-S-up/downtoggle table coordinate grid C-c }Linksglobally store link to the current location C-c l 1insert a link (TAB completes stored links) C-c C-linsert file link with file name completion C-u C-c C-ledit (also hidden part of) link at point C-c C-lopen file links in emacsC-c C-o...force open in emacs/other window C-u C-c C-oopen link at pointmouse-1/2...force open in emacs/other window mouse-3record a position in mark ring C-c %jump back to last followed link(s) C-c &find next linkC-c C-x C-nfind previous linkC-c C-x C-pedit code snippet of file at point C-c ’Internal Linkstarget radio target 2[[*this text]]find headline[[this text]]find target or text in buffer[[this text][description]] optional link textExternal Linksfile:/home/dominik/img/mars.jpgfile:papers/last.pdffile:projects.org::*that textfile:projects.org::find mehttp://www.astro.uva.nl/~dominikmailto:adent@galaxy.netnews:comp.emacsbbdb:Richard Stallmangnus:groupgnus:group#idvm|wl|mhe|rmail:foldervm|wl|mhe|rmail:folder#idinfo:emacs:Regexpsshell:ls *.orgelisp:(calendar)[[external link][description]]Completionfile, absolutefile, relativefind headlinefind trgt/stringon the webEmail addressUsenet groupBBDB personGNUS groupGNUS messageMail folderMail messageInfo file:nodeshell commandelisp formoptional link textIn-buffer completion completes TODO keywords at headlinestart, TeX macros after “\”, option keywords after “#-”, TAGSafter “:”, and dictionary words elsewhere.complete word at pointM-TAB


Org-Mode Reference Card (2/2)(for version 6.34c)TODO Items and Checkboxesrotate the state of the current itemselect next/previous stateselect next/previous settoggle ORDERED propertyview TODO items in a sparse treeview 3rd TODO keyword’s sparse treeC-c C-tS-LEFT/RIGHTC-S-LEFT/RIGHTC-c C-x oC-c C-vC-3 C-c C-vset the priority of the current item C-c , [ABC]remove priority cookie from current item C-c , SPCraise/lower priority of current item S-UP/DOWN 3insert new checkbox item in plain list M-S-RETtoggle checkbox(es) in region/entry/at point C-c C-x C-btoggle checkbox at point C-c C-cupdate checkbox statistics (C-u : whole file) C-c #Tagsset tags for current heading C-c C-qrealign tags in all headings C-u C-c C-qcreate sparse tree with matching tags C-c \globally (agenda) match tags at cursor C-c C-oProperties and Column Viewset property/effortC-c C-x p/especial commands in property lines C-c C-cnext/previous allowed value S-left/rightturn on column viewC-c C-x C-ccapture columns view in dynamic block C-c C-x iquit column viewqshow full valuevedit valueenext/previous allowed value n/p or S-left/rightedit allowed values listamake column wider/narrower > / insert timestamp matching date in calendar C-c insert new entry into diary istart/stop/cancel the clock on current itemjump to running clock entrymark / unmark / execute bulk actionMiscfollow one or offer all links in current entryCalendar commandsfind agenda cursor date in calendarcompute agenda for calendar cursor dateshow phases of the moonshow sunrise/sunset timesshow holidaysconvert date to other calendarsQuit and Exitquit agenda, remove agenda bufferexit agenda, remove all agenda buffersLaTeX and cdlatex-modeI / O / XJm / u / BC-c C-opreview LaTeX fragment C-c C-x C-lexpand abbreviation (cdlatex-mode) TABinsert/modify math symbol (cdlatex-mode) ‘ / ’insert citation using RefTeX C-c C-x [Exporting and PublishingExporting creates files with extensions .txt and .html in thecurrent directory. Publishing puts the resulting file into someother place.export/publish dispatcher C-c C-eexport visible part onlyC-c C-e vinsert template of export options C-c C-e ttoggle fixed width for entry or region C-c :Comments: Text not being exportedText before the first headline is not considered part of the documentand is therefore never exported. Lines starting with #are comments and are not exported. Subtrees whose headerstarts with COMMENT are never exported.toggle COMMENT keyword on entry C-c ;Dynamic Blocksupdate dynamic block at pointupdate all dynamic blocksNotesccMSHCqxC-c C-x C-uC-u C-c C-x C-u1 This is only a suggestion for a binding of this command.Choose your own key as shown under INSTALLATION.2 After changing a #+KEYWORD or line, press C-cC-c with the cursor still in the line to update.3 Keybinding affected by org-support-shift-select and orgreplace-disputed-keys.Copyright c○ 2010 Free Software Foundation, Inc.v6.34c for Org-Mode 6.34c, 2010Author: Philip Rookebased on refcard design and format by Stephen GildeaPermission is granted to make and distribute copies of this card providedthe copyright notice and this permission notice are preserved onall copies.

More magazines by this user
Similar magazines