1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196
|
<title>Keybindings for html-helper-mode version 1.34</title>
<h1>Keybindings for html-helper-mode version 1.34</h1>
Note - this list might well not be up to date. Your best bet is to
look at the mode help for html-helper-mode, <kbd>C-hm</kbd> from within the
mode.<p>
Every keysequence here inserts some HTML or HTML+ cookie. The point is
then placed where you want to type in the information for that
cookie. If you call the command with a prefix argument (by typing
<kbd>C-u</kbd> first), then instead the cookie is placed around the
current region.<p>
<hr>
<h2>Mode bindings</h2>
<pre>
TAB indent line
RET insert newline and indent
M-TAB complete tag at point
M-C-f move forward one mark
M-C-b move backward one mark
M-C-t insert the timestamp delimiter
</pre>
<p>
<h2>Common insertions</h2>
<pre>
M-RET html-paragraph <p>
C-c- html-horizontal-rule <hr>
C-cC-t# html-header-# <h#></h#>
C-cC-al html-anchor <a href=""></a>
C-cC-lu html-unordered-list <ul><li></ul>
C-cC-ld html-definition-list <dl><dt><dd></dl>
C-cC-li html-smart-insert-item <li> or <dt><dd> depending on context
</pre>
<hr>
<h2>HTML insertion commands</h2>
Every HTML and HTML+ cookie should have an insertion command. These
commands can be used in two ways: by typing the beginning of the
cookie and hitting <kbd>M-TAB</kbd>, for completion, or by typing it's
somewhat-mnemonic keybinding.<p>
The keybindings aren't very good - I am constrained by emacs style to
binding things only to C-cC-<letter>. Each class of HTML cookie is
assigned to some particular C-cC-<letter>, and then within that map
different letters insert different cookies.<p>
<pre>
Prefix Cookie class
------ ------------
C-cC-b head element ("begin")
C-cC-t headers ("title" - sorry, C-cC-h has a special meaning in emacs)
C-cC-a anchors
C-cC-s logical styles ("styles")
C-cC-p physical styles
C-cC-l lists
C-cC-n annotations ("notes")
C-cC-f forms
C-cC-i images
special text elements
special entities
</pre>
<h3>Head elements - <kbd>C-cC-b</kbd></h3>
<pre>
key template inserted text
--- -------- -------------
t html-title <title></title>
i html-isindex <isindex>
n html-nextid <nextid>
l html-link <link href="">
b html-base <base href="">
</pre>
<h3>Headers - <kbd>C-cC-t</kbd></h3>
<pre>
1 html-header-1 <h1></h1>
2 html-header-2 <h2></h2>
3 html-header-3 <h3></h3>
4 html-header-4 <h4></h4>
5 html-header-5 <h5></h5>
6 html-header-6 <h6></h6>
</pre>
<h3>Anchors - <kbd>C-cC-a</kbd></h3>
<pre>
n html-target-anchor <a name=""></a>
l html-anchor <a href=""></a>
</pre>
<h3>Logical styles - <kbd>C-cC-s</kbd></h3>
<pre>
p html-preformatted <pre></pre>
b html-blockquote <blockquote></blockquote>
e html-emphasized <em></em>
s html-strong <strong></strong>
c html-code <code></code>
x html-sample <samp></samp>
r html-citation <cite></cite>
k html-keyboard <kbd></kbd>
v html-variable <var></var>
d html-definition <dfn></dfn>
a html-address <address></address>
q html-quote <q></q>
n html-person <person></person>
y html-acronym <acronym></acronym>
. html-abbrev <abbrev></abbrev>
m html-cmd <cmd></cmd>
g html-arg <arg></arg>
l html-lit <lit></lit>
</pre>
<h3>Physical styles - <kbd>C-cC-p</kbd></h3>
<pre>
b html-bold <b></b>
i html-italic <i></i>
u html-underline <u></u>
f html-fixed <tt></tt>
x html-strikethru <s></s>
^ html-superscript <sup></sup>
_ html-subscript <sub></sub>
r html-render <render tag="" style="">
</pre>
<h3>Lists - <kbd>C-cC-l</kbd></h3>
<pre>
o html-ordered-list <ol><li></ol>
u html-unordered-list <ul><li></ul>
r html-directory <dir><li></dir>
m html-menu <menu><li></menu>
d html-definition-list <dl><dt><dd></dl>
i html-smart-insert-item <li> or <dt><dd> depending on context
l html-item <li>
t html-definition-item <dt><dd>
</pre>
<h3>Annotations - <kbd>C-cC-n</kbd></h3>
<pre>
a html-abstract <abstract></abstract>
n html-note <note role=""></note>
f html-footnote <footnote></footnote>
m html-margin <margin></margin>
</pre>
<h3>Forms - <kbd>C-cC-f</kbd></h3>
<pre>
f html-form <form action=""></form>
t html-input-text <input name="" size="">
i html-input-int <input type="INT" name="" size="">
. html-input-float <input type="FLOAT" name="" size="">
d html-input-date <input type="DATE" name="" size="">
u html-input-url <input type="URL" name="" size="">
c html-input-check <input type="CHECKBOX" name="">
r html-input-radio <input type="RADIO" name="">
g html-input-image <input type="IMAGE" name="" src="">
s html-input-scribble <input type="SCRIBBLE" name="" size="">
a html-input-audio <input type="AUDIO" name="">
b html-input-submit <input type="SUBMIT" value="">
x html-input-reset <input type="RESET" value="">
p html-input-textarea <textarea name="" rows= cols=></textarea>
c html-input-select <select name=""></select>
</pre>
<h3>Images - <kbd>C-cC-i</kbd></h3>
<pre>
i html-image <img src="">
t html-alt-image <img alt="" src="">
a html-align-image <img align="" src="">
e html-align-alt-image <img align="" src="" alt="">
</pre>
<h3>Text Elements</h3>
<pre>
M-RET html-paragraph <p>
C-c- html-horizontal-rule <hr>
C-cRET html-break <br>
</pre>
<h3>Entities</h3>
<pre>
C-c& html-ampersand &amp;
C-c< html-less-than &lt;
C-c> html-greater-than &gt;
C-cSPC html-nonbreaking-space &nbsp;
</pre>
<hr>
<!-- hhmts start -->
Last modified: Wed Feb 1 14:16:33 1995
<!-- hhmts end -->
<address><a href="http://www.santafe.edu/~nelson/">Nelson Minar <nelson@santafe.edu></a></address>
|