Bugs fixed and extended cheat sheet

This commit is contained in:
joten 2015-07-11 14:52:04 +02:00
parent 3570003331
commit 7332f22bd0
5 changed files with 41 additions and 40 deletions

View file

@ -62,7 +62,7 @@ Manually move the active window to the previous area in the layout.
Move and resize the active window to the size of the work area (only floating
windows).
#### !<n>
#### !&lt;n&gt;
Manually move the active window to the n<sup><small>th</small></sup> area in
the layout (n = 1..9).
@ -154,14 +154,14 @@ Activate the previously activated view.
#### #+0
Tag the active window with all tags (n = 1..`Config_viewCount`).
#### #<n>
#### #&lt;n&gt;
Activate the n<sup><small>th</small></sup> view (n = 1..`Config_viewCount`).
#### #+<n>
#### #+&lt;n&gt;
Tag the active window with the n<sup><small>th</small></sup> tag (n =
1..`Config_viewCount`).
#### #^<n>
#### #^&lt;n&gt;
Add / Remove the n<sup><small>th</small></sup> tag (n = 1..`Config_viewCount`)
for the active window, if it is not / is already set.

View file

@ -8,8 +8,9 @@ The cheat sheet was created from `bug.n/doc/Default_hotkeys.md` as a source by
* finding and replacing "\r\n\r\n[^#*`>].-\r\n\r\n" with "\r\n\r\n" (lpeg pattern)
* finding and replacing "`Config_hotkey=" with "#### " (lpeg pattern)
* finding and replacing "::.-\n> " with "\n" (lpeg pattern)
* finding and replacing "<n>" with "&lt;n&gt;" (lpeg pattern)
* converting the markdown to HTML with the following command:
`pandoc -o cheat_sheet.html -S --section-divs -c reset.css -c cheat_sheet.css Default_hotkeys.md`
-- No, neither the resulting markdown, nor the HTML source is pretty. But with
the accompanying CSS it looks good.
the accompanying CSS it looks good -- in Chromium browser at least.

View file

@ -1,7 +1,7 @@
/*body { background-color: red; }*/
.level2 {
background-color: white;
font-family: Ubuntu;
font-family: Ubuntu, sans-serif;
font-size: 12px;
/* position: absolute; top: 10mm; left: 10mm;*/
position: absolute; top: 0; left: 0;
@ -10,7 +10,7 @@
}
h2 {
/* background-color: #008AB8;*/
border-radius: 4px;
/* border-radius: 4px;*/
border-top: 2px solid #008AB8;
border-bottom: 2px solid #008AB8;
color: #008AB8;
@ -19,19 +19,19 @@ h2 {
font-weight: bold;
padding: 8px;
text-align: center;
width: 75.8mm;
width: 85.6mm;
}
.level3 {
border-bottom: 2px solid;
border-color: #008AB8;
border-radius: 2px;
/* border-radius: 4px;*/
width: 90mm;
}
h3 {
background-color: #008AB8;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
color: white;
font-size: 16px;
font-weight: bold;
@ -43,7 +43,7 @@ h3 {
.level4:nth-child(2n+1) { background-color: lightgrey; }
h4 {
float: left;
font-family: Ubuntu Mono;
font-family: Ubuntu Mono, monospace;
padding: 0 1mm;
width: 16mm;
}
@ -52,25 +52,25 @@ p {
padding: 0 1mm;
}
#abbreviations { position: absolute; top: 0.0mm; left: 0; }
#layout-management { position: absolute; top: 41.3mm; left: 0; }
#abbreviations { position: absolute; top: 0; left: 0; }
#layout-management { position: absolute; top: 24.7ex; left: 0; }
#administration { position: absolute; bottom: 0; left: 0; }
#window-management { position: absolute; top: 0; left: 93.5mm; }
#window-debugging { position: absolute; bottom: 10.6mm; left: 93.5mm; }
#window-management { position: absolute; top: 0; left: 93.5mm; }
#window-debugging { position: absolute; bottom: 0; left: 93.5mm; }
#view-tag-management { position: absolute; top: 0.0mm; right: 0; }
#monitor-management { position: absolute; top: 58.3mm; right: 0; }
h2 { position: absolute; top: 132.0mm; right: 0; }
#gui-management { position: absolute; bottom: 0; right: 0; }
#view-tag-management { position: absolute; top: 0; right: 0; } /* 3.2ex * 3 */
#monitor-management { position: absolute; top: 33.7ex; right: 0; }
h2 { position: absolute; top: 39.0ex; right: 0; }
#gui-management { position: absolute; bottom: 0; right: 0; }
code { font-family: Ubuntu Mono; }
code { font-family: Ubuntu Mono, monospace; }
kbd {
background-color: lightgrey;
border: 1px solid grey;
border-bottom-width: 2px;
border-radius: 2px;
font-family: Ubuntu Mono;
border-radius: 4px;
font-family: Ubuntu Mono, monospace;
font-size: 10px;
padding: 1px 4px;
}

View file

@ -91,11 +91,11 @@
<h4>!+Enter</h4>
<p>Move and resize the active window to the size of the work area (only floating windows).</p>
</div>
<div id="section" class="section level4">
<h4>!<n></h4>
<div id="n" class="section level4">
<h4>!&lt;n&gt;</h4>
<p>Manually move the active window to the n<sup><small>th</small></sup> area in the layout (n = 1..9).</p>
</div>
<div id="section-1" class="section level4">
<div id="section" class="section level4">
<h4>!0</h4>
<p>Manually move the active window to the n<sup><small>th</small></sup> area in the layout.</p>
</div>
@ -196,7 +196,7 @@
</div>
<div id="view-tag-management" class="section level3">
<h3>View / Tag management</h3>
<div id="n" class="section level4">
<div id="n-1" class="section level4">
<h4>#+n</h4>
<p>Toggle the view margins.</p>
</div>
@ -204,46 +204,46 @@
<h4>#BackSpace</h4>
<p>Activate the previously activated view.</p>
</div>
<div id="section-2" class="section level4">
<div id="section-1" class="section level4">
<h4>#+0</h4>
<p>Tag the active window with all tags (n = 1..<code>Config_viewCount</code>).</p>
</div>
<div id="section-3" class="section level4">
<h4>#<n></h4>
<div id="n-2" class="section level4">
<h4>#&lt;n&gt;</h4>
<p>Activate the n<sup><small>th</small></sup> view (n = 1..<code>Config_viewCount</code>).</p>
</div>
<div id="section-4" class="section level4">
<h4>#+<n></h4>
<div id="n-3" class="section level4">
<h4>#+&lt;n&gt;</h4>
<p>Tag the active window with the n<sup><small>th</small></sup> tag (n = 1..<code>Config_viewCount</code>).</p>
</div>
<div id="section-5" class="section level4">
<h4>#^<n></h4>
<div id="n-4" class="section level4">
<h4>#^&lt;n&gt;</h4>
<p>Add / Remove the n<sup><small>th</small></sup> tag (n = 1..<code>Config_viewCount</code>) for the active window, if it is not / is already set.</p>
</div>
</div>
<div id="monitor-management" class="section level3">
<h3>Monitor management</h3>
<div id="section-6" class="section level4">
<div id="section-2" class="section level4">
<h4>#.</h4>
<p>Activate the next monitor in a multi-monitor environment.</p>
</div>
<div id="section-7" class="section level4">
<div id="section-3" class="section level4">
<h4>#,</h4>
<p>Activate the previous monitor in a multi-monitor environment.</p>
</div>
<div id="section-8" class="section level4">
<div id="section-4" class="section level4">
<h4>#+.</h4>
<p>Set the active windows view to the active view on the next monitor in a multi-monitor environment.</p>
</div>
<div id="section-9" class="section level4">
<div id="section-5" class="section level4">
<h4>#+,</h4>
<p>Set the active windows view to the active view on the previous monitor in a multi-monitor environment.</p>
</div>
<div id="section-10" class="section level4">
<div id="section-6" class="section level4">
<h4>#^+.</h4>
<p>Set all windows of the active view on the active view of the next monitor in a multi-monitor environment.</p>
</div>
<div id="section-11" class="section level4">
<div id="section-7" class="section level4">
<h4>#^+,</h4>
<p>Set all windows of the active view on the active view of the previous monitor in a multi-monitor environment.</p>
</div>

Binary file not shown.