Add 2012 to FSF copyright years for Emacs files
[bpt/emacs.git] / etc / refcards / orgcard.tex
CommitLineData
6f463292 1% Reference Card for Org Mode
e66ba1df 2\def\orgversionnumber{7.8.02}
ce57c2fe 3\def\versionyear{2011} % latest update
1c6e5a32 4\def\year{2012} % latest copyright year
dbc28aaa 5
6f463292
GM
6%**start of header
7\newcount\columnsperpage
873f531d 8\newcount\letterpaper
6f463292
GM
9
10% This file can be printed with 1, 2, or 3 columns per page (see below).
873f531d 11% Specify how many you want here.
873f531d 12\columnsperpage=3
6f463292 13
324f60ef
GM
14% PDF output layout. 0 for A4, 1 for letter (US), a `l' is added for
15% a landscape layout.
16\input pdflayout.sty
17\pdflayout=(0l)
18
873f531d 19% Nothing else needs to be changed below this line.
acaf905b 20% Copyright (C) 1987, 1993, 1996-1997, 2001-2012
cbd20947 21% Free Software Foundation, Inc.
873f531d
CD
22
23% This file is part of GNU Emacs.
6f463292 24
b83446dd 25% GNU Emacs is free software: you can redistribute it and/or modify
6f463292 26% it under the terms of the GNU General Public License as published by
b83446dd
GM
27% the Free Software Foundation, either version 3 of the License, or
28% (at your option) any later version.
6f463292
GM
29
30% GNU Emacs is distributed in the hope that it will be useful,
31% but WITHOUT ANY WARRANTY; without even the implied warranty of
32% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33% GNU General Public License for more details.
34
35% You should have received a copy of the GNU General Public License
b83446dd 36% along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
6f463292
GM
37
38% This file is intended to be processed by plain TeX (TeX82).
39%
40% The final reference card has six columns, three on each side.
41% This file can be used to produce it in any of three ways:
42% 1 column per page
43% produces six separate pages, each of which needs to be reduced to 80%.
44% This gives the best resolution.
45% 2 columns per page
46% produces three already-reduced pages.
47% You will still need to cut and paste.
48% 3 columns per page
49% produces two pages which must be printed sideways to make a
50% ready-to-use 8.5 x 11 inch reference card.
51% For this you need a dvi device driver that can print sideways.
52% Which mode to use is controlled by setting \columnsperpage above.
53%
873f531d
CD
54% To compile and print this document:
55% tex refcard.tex
56% dvips -t landscape refcard.dvi
57%
6f463292
GM
58% Author:
59% Stephen Gildea
60% Internet: gildea@stop.mail-abuse.org
61%
62% Thanks to Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik
63% for their many good ideas.
64
65\def\shortcopyrightnotice{\vskip 1ex plus 2 fill
66 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
67 Permissions on back. v\orgversionnumber}}
68
69\def\copyrightnotice{
70\vskip 1ex plus 100 fill\begingroup\small
71\centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
72\centerline{v\orgversionnumber{} for Org-Mode \orgversionnumber{}, \versionyear}
73\centerline{Author: Philip Rooke}
74\centerline{based on refcard design and format by Stephen Gildea}
75
76Permission is granted to make and distribute copies of
77this card provided the copyright notice and this permission notice
78are preserved on all copies.
79
80\endgroup}
81
82% make \bye not \outer so that the \def\bye in the \else clause below
83% can be scanned without complaint.
84\def\bye{\par\vfill\supereject\end}
85
873f531d
CD
86\newdimen\intercolumnskip %horizontal space between columns
87\newbox\columna %boxes to hold columns already built
6f463292
GM
88\newbox\columnb
89
90\def\ncolumns{\the\columnsperpage}
91
873f531d 92\message{[\ncolumns\space
6f463292
GM
93 column\if 1\ncolumns\else s\fi\space per page]}
94
95\def\scaledmag#1{ scaled \magstep #1}
96
97% This multi-way format was designed by Stephen Gildea October 1986.
98% Note that the 1-column format is fontfamily-independent.
873f531d 99\if 1\ncolumns %one-column format uses normal size
6f463292
GM
100 \hsize 4in
101 \vsize 10in
102 \voffset -.7in
103 \font\titlefont=\fontname\tenbf \scaledmag3
104 \font\headingfont=\fontname\tenbf \scaledmag2
105 \font\smallfont=\fontname\sevenrm
106 \font\smallsy=\fontname\sevensy
107
108 \footline{\hss\folio}
109 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
873f531d 110\else %2 or 3 columns uses prereduced size
873f531d 111 \if 1\the\letterpaper
39586cf3 112 \hsize 3.2in
873f531d 113 \vsize 7.95in
39586cf3
CD
114 \hoffset -.75in
115 \voffset -.745in
873f531d 116 \else
39586cf3 117 \hsize 3.2in
873f531d 118 \vsize 7.65in
39586cf3
CD
119 \hoffset -.25in
120 \voffset -.745in
873f531d 121 \fi
6f463292
GM
122 \font\titlefont=cmbx10 \scaledmag2
123 \font\headingfont=cmbx10 \scaledmag1
124 \font\smallfont=cmr6
125 \font\smallsy=cmsy6
126 \font\eightrm=cmr8
127 \font\eightbf=cmbx8
128 \font\eightit=cmti8
129 \font\eighttt=cmtt8
130 \font\eightmi=cmmi8
131 \font\eightsy=cmsy8
132 \textfont0=\eightrm
133 \textfont1=\eightmi
134 \textfont2=\eightsy
135 \def\rm{\eightrm}
136 \def\bf{\eightbf}
137 \def\it{\eightit}
138 \def\tt{\eighttt}
873f531d
CD
139 \if 1\the\letterpaper
140 \normalbaselineskip=.8\normalbaselineskip
141 \else
142 \normalbaselineskip=.7\normalbaselineskip
143 \fi
6f463292
GM
144 \normallineskip=.8\normallineskip
145 \normallineskiplimit=.8\normallineskiplimit
873f531d 146 \normalbaselines\rm %make definitions take effect
6f463292
GM
147
148 \if 2\ncolumns
149 \let\maxcolumn=b
150 \footline{\hss\rm\folio\hss}
151 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
152 \else \if 3\ncolumns
153 \let\maxcolumn=c
154 \nopagenumbers
155 \else
156 \errhelp{You must set \columnsperpage equal to 1, 2, or 3.}
157 \errmessage{Illegal number of columns per page}
158 \fi\fi
159
160 \intercolumnskip=.46in
161 \def\abc{a}
873f531d 162 \output={% %see The TeXbook page 257
6f463292
GM
163 % This next line is useful when designing the layout.
164 %\immediate\write16{Column \folio\abc\space starts with \firstmark}
165 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
166 \else\if a\abc
873f531d 167 \global\setbox\columna\columnbox \global\def\abc{b}
6f463292
GM
168 %% in case we never use \columnb (two-column mode)
169 \global\setbox\columnb\hbox to -\intercolumnskip{}
170 \else
873f531d 171 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
6f463292
GM
172 \def\multicolumnformat{\shipout\vbox{\makeheadline
173 \hbox{\box\columna\hskip\intercolumnskip
174 \box\columnb\hskip\intercolumnskip\columnbox}
175 \makefootline}\advancepageno}
176 \def\columnbox{\leftline{\pagebody}}
177
178 \def\bye{\par\vfill\supereject
179 \if a\abc \else\null\vfill\eject\fi
180 \if a\abc \else\null\vfill\eject\fi
873f531d 181 \end}
6f463292
GM
182\fi
183
184% we won't be using math mode much, so redefine some of the characters
185% we might want to talk about
186%\catcode`\^=12
187\catcode`\_=12
188
189% we also need the tilde, for file names.
190\catcode`\~=12
191
192\chardef\\=`\\
193\chardef\{=`\{
194\chardef\}=`\}
195
196\hyphenation{mini-buf-fer}
197
198\parindent 0pt
199\parskip 1ex plus .5ex minus .5ex
200
201\def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}
202
203% newcolumn - force a new column. Use sparingly, probably only for
204% the first column of a page, which should have a title anyway.
205\outer\def\newcolumn{\vfill\eject}
206
207% title - page title. Argument is title text.
208\outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex}
209
210% section - new major section. Argument is section name.
211\outer\def\section#1{\par\filbreak
212 \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}%
213 \vskip 2ex plus 1ex minus 1.5ex}
214
215\newdimen\keyindent
216
217% beginindentedkeys...endindentedkeys - key definitions will be
218% indented, but running text, typically used as headings to group
219% definitions, will not.
220\def\beginindentedkeys{\keyindent=1em}
221\def\endindentedkeys{\keyindent=0em}
222\endindentedkeys
223
224% paralign - begin paragraph containing an alignment.
225% If an \halign is entered while in vertical mode, a parskip is never
226% inserted. Using \paralign instead of \halign solves this problem.
227\def\paralign{\vskip\parskip\halign}
228
229% \<...> - surrounds a variable name in a code example
230\def\<#1>{{\it #1\/}}
231
232% kbd - argument is characters typed literally. Like the Texinfo command.
873f531d 233\def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows
6f463292
GM
234
235% beginexample...endexample - surrounds literal text, such a code example.
236% typeset in a typewriter font with line breaks preserved
237\def\beginexample{\par\leavevmode\begingroup
238 \obeylines\obeyspaces\parskip0pt\tt}
239{\obeyspaces\global\let =\ }
240\def\endexample{\endgroup}
241
242% key - definition of a key.
243% \key{description of key}{key-name}
244% prints the description left-justified, and the key-name in a \kbd
245% form near the right margin.
246\def\key#1#2{\leavevmode\hbox to \hsize{\vtop
247 {\hsize=.75\hsize\rightskip=1em
248 \hskip\keyindent\relax#1}\kbd{#2}\hfil}}
249
250\newbox\metaxbox
251\setbox\metaxbox\hbox{\kbd{M-x }}
252\newdimen\metaxwidth
253\metaxwidth=\wd\metaxbox
254
255% metax - definition of a M-x command.
256% \metax{description of command}{M-x command-name}
257% Tries to justify the beginning of the command name at the same place
258% as \key starts the key name. (The "M-x " sticks out to the left.)
259\def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
260 {\hskip\keyindent\relax#1\hfil}%
261 \hskip -\metaxwidth minus 1fil
262 \kbd{#2}\hfil}}
263
264% threecol - like "key" but with two key names.
265% for example, one for doing the action backward, and one for forward.
266\def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\hfil\quad
267 &\kbd{#3}\hfil\quad\cr}
268
acedf35c
CD
269\def\noteone{{\small \hfill [1]}}
270\def\notetwo{{\small \hfill [2]}}
271
272
6f463292
GM
273%**end of header
274\f
275
276\title{Org-Mode Reference Card (1/2)}
277
278\centerline{(for version \orgversionnumber)}
279
280\section{Getting Started}
6f463292
GM
281\metax{To read the on-line documentation try}{M-x org-info}
282
283\section{Visibility Cycling}
284
285\key{rotate current subtree between states}{TAB}
286\key{rotate entire buffer between states}{S-TAB}
a6520ff3
CD
287\key{restore property-dependent startup visibility}{C-u C-u TAB}
288\metax{show the whole file, including drawers}{C-u C-u C-u TAB}
6f463292 289\key{reveal context around point}{C-c C-r}
6f463292
GM
290
291\section{Motion}
292
293\key{next/previous heading}{C-c C-n/p}
294\key{next/previous heading, same level}{C-c C-f/b}
295\key{backward to higher level heading}{C-c C-u}
296\key{jump to another place in document}{C-c C-j}
acedf35c 297\key{previous/next plain list item}{S-UP/DOWN\notetwo}
6f463292
GM
298
299\section{Structure Editing}
300
301\key{insert new heading/item at current level}{M-RET}
dbc28aaa 302\key{insert new heading after subtree}{C-RET}
6f463292 303\key{insert new TODO entry/checkbox item}{M-S-RET}
a6520ff3 304\key{insert TODO entry/ckbx after subtree}{C-S-RET}
7f36140a
CD
305\key{turn (head)line into item, cycle item type}{C-c -}
306\key{turn item/line into headline}{C-c *}
b349f79f
CD
307\key{promote/demote heading}{M-LEFT/RIGHT}
308\metax{promote/demote current subtree}{M-S-LEFT/RIGHT}
7f36140a 309\metax{move subtree/list item up/down}{M-S-UP/DOWN}
c8d0cf5c
CD
310\metax{sort subtree/region/plain-list}{C-c \^{}}
311\metax{clone a subtree}{C-c C-x c}
ce57c2fe 312\metax{copy visible text}{C-c C-x v}
7f36140a 313\metax{kill/copy subtree}{C-c C-x C-w/M-w}
1463de90 314\metax{yank subtree}{C-c C-x C-y or C-y}
7f36140a 315\metax{narrow buffer to subtree / widen}{C-x n s/w}
6f463292 316
acedf35c
CD
317\section{Capture - Refile - Archiving}
318\key{capture a new item (C-u C-u = goto last)}{C-c c \noteone}
319\key{refile subtree (C-u C-u = goto last)}{C-c C-w}
8afcfab3 320\key{archive subtree using the default command}{C-c C-x C-a}
7f6c6a23 321\key{move subtree to archive file}{C-c C-x C-s}
8afcfab3
CD
322\key{toggle ARCHIVE tag / to ARCHIVE sibling}{C-c C-x a/A}
323\key{force cycling of an ARCHIVEd tree}{C-TAB}
6f463292
GM
324
325\section{Filtering and Sparse Trees}
326
dbc28aaa 327\key{construct a sparse tree by various criteria}{C-c /}
86fbb8ca 328\key{view TODO's in sparse tree}{C-c / t/T}
acedf35c 329\key{global TODO list in agenda mode}{C-c a t \noteone}
6f463292 330\key{time sorted view of current org file}{C-c a L}
6f463292
GM
331
332\section{Tables}
333
334{\bf Creating a table}
335
336%\metax{insert a new Org-mode table}{M-x org-table-create}
337\metax{just start typing, e.g.}{|Name|Phone|Age RET |- TAB}
338\key{convert region to table}{C-c |}
339\key{... separator at least 3 spaces}{C-3 C-c |}
340
341{\bf Commands available inside tables}
342
343The following commands work when the cursor is {\it inside a table}.
344Outside of tables, the same keys may have other functionality.
345
346{\bf Re-aligning and field motion}
347
348\key{re-align the table without moving the cursor}{C-c C-c}
349\key{re-align the table, move to next field}{TAB}
350\key{move to previous field}{S-TAB}
351\key{re-align the table, move to next row}{RET}
c8d0cf5c 352\key{move to beginning/end of field}{M-a/e}
6f463292
GM
353
354{\bf Row and column editing}
355
873f531d 356\key{move the current column left}{M-LEFT/RIGHT}
6f463292
GM
357\key{kill the current column}{M-S-LEFT}
358\key{insert new column to left of cursor position}{M-S-RIGHT}
359
873f531d 360\key{move the current row up/down}{M-UP/DOWN}
6f463292
GM
361\key{kill the current row or horizontal line}{M-S-UP}
362\key{insert new row above the current row}{M-S-DOWN}
7f6c6a23 363\key{insert hline below (\kbd{C-u} : above) current row}{C-c -}
7f36140a 364\key{insert hline and move to line below it}{C-c RET}
6f463292
GM
365\key{sort lines in region}{C-c \^{}}
366
367{\bf Regions}
368
ed21c5c8
CD
369\metax{cut/copy/paste rectangular region}{C-c C-x C-w/M-w/C-y}
370%\key{copy rectangular region}{C-c C-x M-w}
371%\key{paste rectangular region}{C-c C-x C-y}
6f463292
GM
372\key{fill paragraph across selected cells}{C-c C-q}
373
6f463292
GM
374{\bf Miscellaneous}
375
376\key{to limit column width to \kbd{N} characters, use}{...| <N> |...}
377\key{edit the current field in a separate window}{C-c `}
378\key{make current field fully visible}{C-u TAB}
379\metax{export as tab-separated file}{M-x org-table-export}
380\metax{import tab-separated file}{M-x org-table-import}
873f531d 381\key{sum numbers in current column/rectangle}{C-c +}
6f463292
GM
382
383{\bf Tables created with the \kbd{table.el} package}
384
385\key{insert a new \kbd{table.el} table}{C-c ~}
386\key{recognize existing table.el table}{C-c C-c}
387\key{convert table (Org-mode $\leftrightarrow$ table.el)}{C-c ~}
388
873f531d
CD
389{\bf Spreadsheet}
390
391Formulas typed in field are executed by \kbd{TAB},
392\kbd{RET} and \kbd{C-c C-c}. \kbd{=} introduces a column
393formula, \kbd{:=} a field formula.
394
395\key{Example: Add Col1 and Col2}{|=\$1+\$2 |}
396\key{... with printf format specification}{|=\$1+\$2;\%.2f|}
397\key{... with constants from constants.el}{|=\$1/\$c/\$cm |}
398\metax{sum from 2nd to 3rd hline}{|:=vsum(@II..@III)|}
399\key{apply current column formula}{| = |}
400
401\key{set and eval column formula}{C-c =}
402\key{set and eval field formula}{C-u C-c =}
403\key{re-apply all stored equations to current line}{C-c *}
404\key{re-apply all stored equations to entire table}{C-u C-c *}
405\key{iterate table to stability}{C-u C-u C-c *}
406\key{rotate calculation mark through \# * ! \^ \_ \$}{C-\#}
407\key{show line, column, formula reference}{C-c ?}
c8d0cf5c 408\key{toggle grid / debugger}{C-c \}/\{}
873f531d 409
39586cf3 410\newcolumn
873f531d
CD
411{\it Formula Editor}
412
413\key{edit formulas in separate buffer}{C-c '}
414\key{exit and install new formulas}{C-c C-c}
415\key{exit, install, and apply new formulas}{C-u C-c C-c}
416\key{abort}{C-c C-q}
417\key{toggle reference style}{C-c C-r}
418\key{pretty-print Lisp formula}{TAB}
419\key{complete Lisp symbol}{M-TAB}
420\key{shift reference point}{S-cursor}
421\key{shift test line for column references}{M-up/down}
422\key{scroll the window showing the table}{M-S-up/down}
423\key{toggle table coordinate grid}{C-c \}}
424
6f463292
GM
425\section{Links}
426
acedf35c 427\key{globally store link to the current location}{C-c l \noteone}
6f463292
GM
428\key{insert a link (TAB completes stored links)}{C-c C-l}
429\key{insert file link with file name completion}{C-u C-c C-l}
430\key{edit (also hidden part of) link at point}{C-c C-l}
431
432\key{open file links in emacs}{C-c C-o}
433\key{...force open in emacs/other window}{C-u C-c C-o}
434\key{open link at point}{mouse-1/2}
435\key{...force open in emacs/other window}{mouse-3}
436\key{record a position in mark ring}{C-c \%}
437\key{jump back to last followed link(s)}{C-c \&}
a6520ff3
CD
438\key{find next link}{C-c C-x C-n}
439\key{find previous link}{C-c C-x C-p}
440\key{edit code snippet of file at point}{C-c '}
86fbb8ca
CD
441\key{toggle inline display of linked images}{C-c C-x C-v}
442
86fbb8ca
CD
443\section{Working with Code (Babel)}
444
445\key{execute code block at point}{C-c C-c}
446\key{open results of code block at point}{C-c C-o}
ce57c2fe 447\key{check code block at point for errors}{C-c C-v c}
e66ba1df 448\key{insert a header argument with completion}{C-c C-v j}
86fbb8ca 449\key{view expanded body of code block at point}{C-c C-v v}
ce57c2fe 450\key{view information about code block at point}{C-c C-v I}
86fbb8ca
CD
451\key{go to named code block}{C-c C-v g}
452\key{go to named result}{C-c C-v r}
afe98dfa 453\key{go to the head of the current code block}{C-c C-v u}
86fbb8ca
CD
454\key{go to the next code block}{C-c C-v n}
455\key{go to the previous code block}{C-c C-v p}
afe98dfa
CD
456\key{demarcate a code block}{C-c C-v d}
457\key{execute the next key sequence in the code edit buffer}{C-c C-v x}
86fbb8ca
CD
458\key{execute all code blocks in current buffer}{C-c C-v b}
459\key{execute all code blocks in current subtree}{C-c C-v s}
460\key{tangle code blocks in current file}{C-c C-v t}
461\key{tangle code blocks in supplied file}{C-c C-v f}
afe98dfa 462\key{ingest all code blocks in supplied file into the Library of Babel}{C-c C-v i}
86fbb8ca 463\key{switch to the session of the current code block}{C-c C-v z}
e66ba1df 464\key{load the current code block into a session}{C-c C-v l}
86fbb8ca 465\key{view sha1 hash of the current code block}{C-c C-v a}
6f463292 466
6f463292
GM
467\section{Completion}
468
469In-buffer completion completes TODO keywords at headline start, TeX
470macros after ``{\tt \\}'', option keywords after ``{\tt \#-}'', TAGS
471after ``{\tt :}'', and dictionary words elsewhere.
472
c8d0cf5c 473\key{complete word at point}{M-TAB}
6f463292
GM
474
475
476\newcolumn
477\title{Org-Mode Reference Card (2/2)}
478
479\centerline{(for version \orgversionnumber)}
480
481\section{TODO Items and Checkboxes}
482
483\key{rotate the state of the current item}{C-c C-t}
873f531d
CD
484\metax{select next/previous state}{S-LEFT/RIGHT}
485\metax{select next/previous set}{C-S-LEFT/RIGHT}
c8d0cf5c 486\key{toggle ORDERED property}{C-c C-x o}
6f463292
GM
487\key{view TODO items in a sparse tree}{C-c C-v}
488\key{view 3rd TODO keyword's sparse tree}{C-3 C-c C-v}
489
490\key{set the priority of the current item}{C-c , [ABC]}
491\key{remove priority cookie from current item}{C-c , SPC}
acedf35c 492\key{raise/lower priority of current item}{S-UP/DOWN\notetwo}
6f463292
GM
493
494\key{insert new checkbox item in plain list}{M-S-RET}
495\key{toggle checkbox(es) in region/entry/at point}{C-c C-x C-b}
496\key{toggle checkbox at point}{C-c C-c}
c8d0cf5c 497%\metax{checkbox statistics cookies: insert {\tt [/]} or {\tt [\%]}}{}
6f463292
GM
498\key{update checkbox statistics (\kbd{C-u} : whole file)}{C-c \#}
499
500\section{Tags}
501
71d35b24
CD
502\key{set tags for current heading}{C-c C-q}
503\key{realign tags in all headings}{C-u C-c C-q}
6f463292
GM
504\key{create sparse tree with matching tags}{C-c \\}
505\key{globally (agenda) match tags at cursor}{C-c C-o}
506
fecda3e8
CD
507\section{Properties and Column View}
508
ccfa8d36 509\key{set property/effort}{C-c C-x p/e}
fecda3e8
CD
510\key{special commands in property lines}{C-c C-c}
511\key{next/previous allowed value}{S-left/right}
512\key{turn on column view}{C-c C-x C-c}
a6520ff3 513\key{capture columns view in dynamic block}{C-c C-x i}
fecda3e8
CD
514
515\key{quit column view}{q}
c8d0cf5c 516\key{show full value}{v}
fecda3e8 517\key{edit value}{e}
c8d0cf5c 518\metax{next/previous allowed value}{n/p or S-left/right}
fecda3e8 519\key{edit allowed values list}{a}
fecda3e8
CD
520\key{make column wider/narrower}{> / <}
521\key{move column left/right}{M-left/right}
522\key{add new column}{M-S-right}
523\key{Delete current column}{M-S-left}
524
525
6f463292
GM
526\section{Timestamps}
527
528\key{prompt for date and insert timestamp}{C-c .}
e66ba1df 529\key{like \kbd{C-c .} but insert date and time format}{C-u C-c .}
c8d0cf5c 530\key{like \kbd{C-c .} but make stamp inactive}{C-c !} % FIXME
6f463292
GM
531\key{insert DEADLINE timestamp}{C-c C-d}
532\key{insert SCHEDULED timestamp}{C-c C-s}
dbc28aaa 533\key{create sparse tree with all deadlines due}{C-c / d}
6f463292 534\key{the time between 2 dates in a time range}{C-c C-y}
acedf35c
CD
535\metax{change timestamp at cursor $\pm 1$ day}{S-RIGHT/LEFT\notetwo}
536\key{change year/month/day at cursor by $\pm 1$}{S-UP/DOWN\notetwo}
6f463292
GM
537\key{access the calendar for the current date}{C-c >}
538\key{insert timestamp matching date in calendar}{C-c <}
539\key{access agenda for current date}{C-c C-o}
c8d0cf5c 540\key{select date while prompted}{mouse-1/RET}
6f463292
GM
541%\key{... select date in calendar}{mouse-1/RET}
542%\key{... scroll calendar back/forward one month}{< / >}
543%\key{... forward/backward one day}{S-LEFT/RIGHT}
544%\key{... forward/backward one week}{S-UP/DOWN}
8afcfab3 545%\key{... forward/backward one month}{M-S-LEFT/RIGHT}
c8d0cf5c 546\key{toggle custom format display for dates/times}{C-c C-x C-t}
6f463292 547
fecda3e8
CD
548\newcolumn
549
873f531d 550{\bf Clocking time}
6f463292
GM
551
552\key{start clock on current item}{C-c C-x C-i}
ccfa8d36 553\key{stop/cancel clock on current item}{C-c C-x C-o/x}
6f463292
GM
554\key{display total subtree times}{C-c C-x C-d}
555\key{remove displayed times}{C-c C-c}
556\key{insert/update table with clock report}{C-c C-x C-r}
557
6f463292
GM
558\section{Agenda Views}
559
560\key{add/move current file to front of agenda}{C-c [}
561\key{remove current file from your agenda}{C-c ]}
7f6c6a23 562\key{cycle through agenda file list}{C-'}
dbc28aaa 563\key{set/remove restriction lock}{C-c C-x </>}
6f463292 564
acedf35c
CD
565\key{compile agenda for the current week}{C-c a a \noteone}
566\key{compile global TODO list}{C-c a t \noteone}
567\key{compile TODO list for specific keyword}{C-c a T \noteone}
568\key{match tags, TODO kwds, properties}{C-c a m \noteone}
569\key{match only in TODO entries}{C-c a M \noteone}
570\key{find stuck projects}{C-c a \# \noteone}
571\key{show timeline of current org file}{C-c a L \noteone}
572\key{configure custom commands}{C-c a C \noteone}
573%\key{configure stuck projects}{C-c a ! \noteone}
6f463292
GM
574\key{agenda for date at cursor}{C-c C-o}
575
6f463292
GM
576{\bf Commands available in an agenda buffer}
577
578{\bf View Org file}
579
580\key{show original location of item}{SPC/mouse-3}
581%\key{... also available with}{mouse-3}
582\key{show and recenter window}{L}
583\key{goto original location in other window}{TAB/mouse-2}
584%\key{... also available with}{mouse-2}
585\key{goto original location, delete other windows}{RET}
ccfa8d36
CD
586\key{show subtree in indirect buffer, ded.\ frame}{C-c C-x b}
587\key{toggle follow-mode}{F}
6f463292
GM
588
589{\bf Change display}
590
591\key{delete other windows}{o}
8afcfab3 592\key{view mode dispatcher}{v}
ce57c2fe 593\key{switch to day/week/month/year/def view}{d w vm vy vSP}
8afcfab3 594\key{toggle diary entries / time grid / habits}{D / G / K}
ccfa8d36 595\key{toggle entry text / clock report}{E / R}
ce57c2fe 596\key{toggle display of logbook entries}{l / v l/L/c}
ccfa8d36 597\key{toggle inclusion of archived trees/files}{v a/A}
28a16a1b 598\key{refresh agenda buffer with any changes}{r / g}
8afcfab3 599\key{filter with respect to a tag}{/}
6f463292 600\key{save all org-mode buffers}{s}
ccfa8d36 601\key{display next/previous day,week,...}{f / b}
c8d0cf5c 602\key{goto today / some date (prompt)}{. / j}
6f463292
GM
603
604{\bf Remote editing}
605
606\key{digit argument}{0-9}
607\key{change state of current TODO item}{t}
608\key{kill item and source}{C-k}
8afcfab3 609\key{archive default}{\$ / a}
c8d0cf5c 610\key{refile the subtree}{C-c C-w}
ccfa8d36
CD
611\key{set/show tags of current headline}{: / T}
612\key{set effort property (prefix=nth)}{e}
613\key{set / compute priority of current item}{, / P}
acedf35c 614\key{raise/lower priority of current item}{S-UP/DOWN\notetwo}
a6520ff3 615\key{run an attachment command}{C-c C-a}
6f463292 616\key{schedule/set deadline for this item}{C-c C-s/d}
acedf35c 617\metax{change timestamp one day earlier/later}{S-LEFT/RIGHT\notetwo}
6f463292
GM
618\key{change timestamp to today}{>}
619\key{insert new entry into diary}{i}
fecda3e8 620\newcolumn
dbc28aaa
CD
621\key{start/stop/cancel the clock on current item}{I / O / X}
622\key{jump to running clock entry}{J}
c8d0cf5c 623\key{mark / unmark / execute bulk action}{m / u / B}
6f463292 624
7f6c6a23 625{\bf Misc}
6f463292 626
ccfa8d36 627\key{follow one or offer all links in current entry}{C-c C-o}
7f6c6a23 628
6f463292
GM
629{\bf Calendar commands}
630
631\key{find agenda cursor date in calendar}{c}
632\key{compute agenda for calendar cursor date}{c}
633\key{show phases of the moon}{M}
634\key{show sunrise/sunset times}{S}
635\key{show holidays}{H}
636\key{convert date to other calendars}{C}
637
638{\bf Quit and Exit}
639
640\key{quit agenda, remove agenda buffer}{q}
641\key{exit agenda, remove all agenda buffers}{x}
642
fecda3e8
CD
643\section{LaTeX and cdlatex-mode}
644
645\key{preview LaTeX fragment}{C-c C-x C-l}
c8d0cf5c
CD
646\key{expand abbreviation (cdlatex-mode)}{TAB}
647\key{insert/modify math symbol (cdlatex-mode)}{` / '}
648\key{insert citation using RefTeX}{C-c C-x [}
fecda3e8 649
6f463292
GM
650\section{Exporting and Publishing}
651
652Exporting creates files with extensions {\it .txt\/} and {\it .html\/}
653in the current directory. Publishing puts the resulting file into
654some other place.
655
656\key{export/publish dispatcher}{C-c C-e}
657
658\key{export visible part only}{C-c C-e v}
c8d0cf5c 659\key{insert template of export options}{C-c C-e t}
6f463292 660\key{toggle fixed width for entry or region}{C-c :}
86fbb8ca 661\key{toggle pretty display of scripts, entities}{C-c C-x {\tt\char`\\}}
6f463292 662
6f463292
GM
663{\bf Comments: Text not being exported}
664
86fbb8ca
CD
665Lines starting with \kbd{\#} and subtrees starting with COMMENT are
666never exported.
6f463292
GM
667
668\key{toggle COMMENT keyword on entry}{C-c ;}
669
6f463292
GM
670\section{Dynamic Blocks}
671
672\key{update dynamic block at point}{C-c C-x C-u}
673\metax{update all dynamic blocks}{C-u C-c C-x C-u}
674
675\section{Notes}
acedf35c 676[1] This is only a suggestion for a binding of this command. Choose
e66ba1df 677your own key as shown under ACTIVATION.
6f463292 678
acedf35c 679[2] Keybinding affected by {\tt org-support-shift-select} and also
86fbb8ca 680 {\tt org-replace-disputed-keys}.
6f463292
GM
681
682\copyrightnotice
683
684\bye
685\f
873f531d 686% Local variables:
28a16a1b 687% compile-command: "tex refcard"
873f531d 688% End:
6f463292 689