This commit is contained in:
Rico Sta. Cruz 2015-04-19 16:47:38 +08:00
parent d009b8eeae
commit 72c944dea9
2 changed files with 85 additions and 2 deletions

View File

@ -127,12 +127,12 @@ See [Man page sections](http://www.december.com/unix/ref/mansec.html) (december.
## Using ronn with npm
Place manual files in `man/xxx.1.md`, then:
Place manual files in `man/xxx.1.md`, then in package.json:
```js
"scripts": {
"prepublish": "npm run build-man",
"build-man": "ronn man/*.md --html --roff --style=toc,80c --organization=\"@rstacruz\""
"build-man": "if which ronn; then ronn man/*.md --html --roff --style=toc,80c --organization=\"@rstacruz\"; fi"
},
"directories": {
"man": "man"

83
vim-digraphs.md Normal file
View File

@ -0,0 +1,83 @@
---
title: Vim digraphs
---
### Typing digraphs in insert mode
```
<Ctrl-K>OK
```
{:.light}
### Listing digraphs
```
:dig
:digraphs
```
{:.lights}
## Reference
### Symbols
| ℠ | ™ | © | ® | ¶ | † | ‡ | &ndash; | ± |
| SM | TM | Co | Rg | PI | /- | /= | -- | +- |
| § | µ | £ | ¢ | ¥ | ¤ |
| SE | My | $$ | Ct | Ye | Cu |
| ★ | ☆ | ♡ | ◆ | ◇ |
| *2 | *1 | cH | Db | Dw |
| ✓ | ✗ |
| OK | XX |
### Dots and bullets
| ⋅ | · | ○ | ∙ | ∘ | ∴ | ∵ | | ∷ |
| .P | .M | 0m | Sb | Ob | .: | :. | :R | :: |
| ⊙ | ⊚ | ◎ | □ | ▪ |
| 0. | 02 | 0o | OS | sB |
### Math
| ø | ≃ | ≅ | ≥ | ≤ | ≡ | ≮ | ≯ | ≠ |
| o/ | ?- | ?= | >= | =< | =3 | !< | !> | != |
| √ | × | ÷ |
| RT *root* | /\ *times* | -: *divide* |
| ⊂ | ⊃ | ∩ | |
| (C *subset* | )C *superset* | (U *intersection* | )U *union* |
| ¼ | ½ | ¾ | ₃ | ₂ | ³ | ² |
| 14 | 12 | 34 | 3s | 2s | 3S | 2S |
### Triangles
| ▲ | △ | ▼ | ▽ |
| UT | uT | DT | dT |
| ▶ | ▷ | ◀ | ◁ |
| PR | Tr | PL | Tl |
| » | « | 〈 | 〉 | | |
| >> | << | </ | /> | <1 | >21 |
### Arrows
| ← | → | ↑ | ↓ | ↕ | ↔ |
| <- | -! | -> | -v | UD | <> |
| ⇐ | ⇒ | ⇔ |
| <= | => | == |
<style>
.all table tr td { text-align: center; }
.all table tr:first-child td { font-size: 1.3em; padding-bottom: 0; }
.all table tr:first-child+tr td { font-size: 0.9em; color: dodgerblue; border-top: 0; padding-top: 0; font-family: fira mono, monospace; }
.all table em { color: #aaa; font-size: 0.9em; font-style: normal; font-family: roboto, sans-serif; }
</sytle>