674 lines
13 KiB
HTML
674 lines
13 KiB
HTML
<!doctype html>
|
||
<html lang='en' class='no-js '>
|
||
<head>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<meta charset='utf-8'>
|
||
<meta content='width=device-width, initial-scale=1.0' name='viewport'>
|
||
<link href='./assets/favicon.png' rel='shortcut icon'>
|
||
<meta content='/vim-digraphs.html' name='app:pageurl'>
|
||
|
||
|
||
<title>Vim digraphs cheatsheet</title>
|
||
<meta content='Vim digraphs cheatsheet' property='og:title'>
|
||
<meta content='Vim digraphs cheatsheet' property='twitter:title'>
|
||
<meta content='article' property='og:type'>
|
||
|
||
|
||
|
||
<meta content='https://assets.devhints.io/previews/vim-digraphs.jpg?t=20220707130803' property='og:image'>
|
||
<meta content='https://assets.devhints.io/previews/vim-digraphs.jpg?t=20220707130803' property='twitter:image'>
|
||
<meta content='900' property='og:image:width'>
|
||
<meta content='471' property='og:image:height'>
|
||
|
||
|
||
|
||
<meta content="The one-page guide to Vim digraphs: usage, examples, links, snippets, and more." name="description">
|
||
<meta content="The one-page guide to Vim digraphs: usage, examples, links, snippets, and more." property="og:description">
|
||
<meta content="The one-page guide to Vim digraphs: usage, examples, links, snippets, and more." property="twitter:description">
|
||
|
||
|
||
<link rel="canonical" href="https://devhints.io/vim-digraphs">
|
||
<meta name="og:url" content="https://devhints.io/vim-digraphs">
|
||
|
||
|
||
|
||
|
||
|
||
<meta content='Devhints.io cheatsheets' property='og:site_name'>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<meta content='Vim' property='article:section'>
|
||
|
||
|
||
|
||
|
||
|
||
<script async src='https://www.googletagmanager.com/gtag/js?id=UA-106902774-1'></script>
|
||
<script>
|
||
|
||
window.dataLayer=window.dataLayer||[];
|
||
function gtag(){dataLayer.push(arguments)};
|
||
gtag('js',new Date());
|
||
gtag('config','UA-106902774-1');
|
||
</script>
|
||
|
||
|
||
|
||
<meta property='page:depth' content='1'>
|
||
|
||
|
||
<script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
|
||
<script>(function(H){H.className=H.className.replace(/\bNoJs\b/,'WithJs')})(document.documentElement)</script>
|
||
|
||
<script>(function(d,s){if(window.Promise&&[].includes&&Object.assign&&window.Map)return;var js,sc=d.getElementsByTagName(s)[0];js=d.createElement(s);js.src='https://cdn.polyfill.io/v2/polyfill.min.js';sc.parentNode.insertBefore(js, sc);}(document,'script'))</script>
|
||
|
||
<!--[if lt IE 9]><script src='https://cdnjs.cloudflare.com/ajax/libs/nwmatcher/1.2.5/nwmatcher.min.js'></script><script src='https://cdnjs.cloudflare.com/ajax/libs/json2/20140204/json2.js'></script><script src='https://cdn.rawgit.com/gisu/selectivizr/1.0.3/selectivizr.js'></script><script src='https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js'></script><script src='https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.js'></script><![endif]-->
|
||
|
||
<style>html{opacity:0}</style>
|
||
<link rel="stylesheet" href="./assets/2015/style.css?t=20220707130803">
|
||
<link href="./assets/style.css?t=20220707130803" rel="stylesheet" />
|
||
<link href="./assets/print.css?t=20220707130803" rel="stylesheet" media="print" />
|
||
</head>
|
||
<body>
|
||
<div class='all'>
|
||
|
||
<div class='site-header'>
|
||
<div class='container'>
|
||
This is <a href="."><em>Devhints.io cheatsheets</em></a> — a collection of cheatsheets I've written.
|
||
</div>
|
||
</div>
|
||
|
||
|
||
|
||
<script type='application/ld+json'>
|
||
{
|
||
"@context": "http://schema.org",
|
||
"@type": "NewsArticle",
|
||
"mainEntityOfPage": {
|
||
"@type": "WebPage",
|
||
"@id": "https://google.com/article"
|
||
},
|
||
"headline": "Vim digraphs cheatsheet",
|
||
"image": [ "https://assets.devhints.io/previews/vim-digraphs.jpg?t=20220707130803" ],
|
||
"description": "The one-page guide to Vim digraphs: usage, examples, links, snippets, and more."
|
||
}
|
||
</script>
|
||
<script type='application/ld+json'>
|
||
{
|
||
"@context": "http://schema.org",
|
||
"@type": "BreadcrumbList",
|
||
"itemListElement": [{
|
||
"@type": "ListItem",
|
||
"position": 1,
|
||
"item": {
|
||
"@id": "https://devhints.io/#vim",
|
||
"name": "Vim"
|
||
}
|
||
},{
|
||
"@type": "ListItem",
|
||
"position": 2,
|
||
"item": {
|
||
"@id": "https://devhints.io/vim-digraphs",
|
||
"name": "Vim digraphs"
|
||
}
|
||
}]
|
||
}
|
||
</script>
|
||
|
||
|
||
<div class='post-list -single -cheatsheet'>
|
||
<div class='post-item'>
|
||
<div class='post-headline -cheatsheet'>
|
||
<p class='prelude'><span></span></p>
|
||
<h1><span>Vim digraphs</span></h1>
|
||
|
||
<div class='pubbox'>
|
||
<div class='HeadlinePub' role='complementary'>
|
||
<script async src='https://pubsrv.devhints.io/carbon.js?serve=CE7IK5QM&placement=devhintsio&cd=pubsrv.devhints.io/s' id="_carbonads_js"></script>
|
||
<span class='placeholder -one'></span>
|
||
<span class='placeholder -two'></span>
|
||
<span class='placeholder -three'></span>
|
||
<span class='placeholder -four'></span>
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<div class='post-content -cheatsheet'>
|
||
<h3 id="typing-digraphs-in-insert-mode">Typing digraphs in insert mode</h3>
|
||
|
||
<pre class="light"><code><Ctrl-K>OK
|
||
</code></pre>
|
||
|
||
<h3 id="listing-digraphs">Listing digraphs</h3>
|
||
|
||
<pre class="lights"><code>:dig
|
||
:digraphs
|
||
</code></pre>
|
||
|
||
<h2 id="reference">Reference</h2>
|
||
|
||
<h3 id="symbols">Symbols</h3>
|
||
|
||
<table>
|
||
<tbody>
|
||
<tr>
|
||
<td>℠</td>
|
||
<td>™</td>
|
||
<td>©</td>
|
||
<td>®</td>
|
||
<td>¶</td>
|
||
<td>†</td>
|
||
<td>‡</td>
|
||
<td>–</td>
|
||
<td>±</td>
|
||
</tr>
|
||
<tr>
|
||
<td>SM</td>
|
||
<td>TM</td>
|
||
<td>Co</td>
|
||
<td>Rg</td>
|
||
<td>PI</td>
|
||
<td>/-</td>
|
||
<td>/=</td>
|
||
<td>–</td>
|
||
<td>+-</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<table>
|
||
<tbody>
|
||
<tr>
|
||
<td>§</td>
|
||
<td>µ</td>
|
||
<td>£</td>
|
||
<td>¢</td>
|
||
<td>¥</td>
|
||
<td>¤</td>
|
||
</tr>
|
||
<tr>
|
||
<td>SE</td>
|
||
<td>My</td>
|
||
<td>$$</td>
|
||
<td>Ct</td>
|
||
<td>Ye</td>
|
||
<td>Cu</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<table>
|
||
<tbody>
|
||
<tr>
|
||
<td>★</td>
|
||
<td>☆</td>
|
||
<td>♡</td>
|
||
<td>◆</td>
|
||
<td>◇</td>
|
||
</tr>
|
||
<tr>
|
||
<td>*2</td>
|
||
<td>*1</td>
|
||
<td>cH</td>
|
||
<td>Db</td>
|
||
<td>Dw</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<table>
|
||
<tbody>
|
||
<tr>
|
||
<td>✓</td>
|
||
<td>✗</td>
|
||
</tr>
|
||
<tr>
|
||
<td>OK</td>
|
||
<td>XX</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<h3 id="dots-and-bullets">Dots and bullets</h3>
|
||
|
||
<table>
|
||
<tbody>
|
||
<tr>
|
||
<td>⋅</td>
|
||
<td>·</td>
|
||
<td>○</td>
|
||
<td>∙</td>
|
||
<td>∘</td>
|
||
<td>∴</td>
|
||
<td>∵</td>
|
||
<td>∶</td>
|
||
<td>∷</td>
|
||
</tr>
|
||
<tr>
|
||
<td>.P</td>
|
||
<td>.M</td>
|
||
<td>0m</td>
|
||
<td>Sb</td>
|
||
<td>Ob</td>
|
||
<td>.:</td>
|
||
<td>:.</td>
|
||
<td>:R</td>
|
||
<td>::</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<table>
|
||
<tbody>
|
||
<tr>
|
||
<td>⊙</td>
|
||
<td>⊚</td>
|
||
<td>◎</td>
|
||
<td>□</td>
|
||
<td>▪</td>
|
||
</tr>
|
||
<tr>
|
||
<td>0.</td>
|
||
<td>02</td>
|
||
<td>0o</td>
|
||
<td>OS</td>
|
||
<td>sB</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<h3 id="math">Math</h3>
|
||
|
||
<table>
|
||
<tbody>
|
||
<tr>
|
||
<td>ø</td>
|
||
<td>≃</td>
|
||
<td>≅</td>
|
||
<td>≥</td>
|
||
<td>≤</td>
|
||
<td>≡</td>
|
||
<td>≮</td>
|
||
<td>≯</td>
|
||
<td>≠</td>
|
||
</tr>
|
||
<tr>
|
||
<td>o/</td>
|
||
<td>?-</td>
|
||
<td>?=</td>
|
||
<td>>=</td>
|
||
<td>=<</td>
|
||
<td>=3</td>
|
||
<td>!<</td>
|
||
<td>!></td>
|
||
<td>!=</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<table>
|
||
<tbody>
|
||
<tr>
|
||
<td>√</td>
|
||
<td>×</td>
|
||
<td>÷</td>
|
||
</tr>
|
||
<tr>
|
||
<td>RT <em>root</em></td>
|
||
<td>/\ <em>times</em></td>
|
||
<td>-: <em>divide</em></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<table>
|
||
<tbody>
|
||
<tr>
|
||
<td>⊂</td>
|
||
<td>⊃</td>
|
||
<td>∩</td>
|
||
<td>∪</td>
|
||
</tr>
|
||
<tr>
|
||
<td>(C <em>subset</em></td>
|
||
<td>)C <em>superset</em></td>
|
||
<td>(U <em>intersection</em></td>
|
||
<td>)U <em>union</em></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<table>
|
||
<tbody>
|
||
<tr>
|
||
<td>¼</td>
|
||
<td>½</td>
|
||
<td>¾</td>
|
||
<td>₃</td>
|
||
<td>₂</td>
|
||
<td>³</td>
|
||
<td>²</td>
|
||
</tr>
|
||
<tr>
|
||
<td>14</td>
|
||
<td>12</td>
|
||
<td>34</td>
|
||
<td>3s</td>
|
||
<td>2s</td>
|
||
<td>3S</td>
|
||
<td>2S</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<h3 id="greek">Greek</h3>
|
||
|
||
<table>
|
||
<tbody>
|
||
<tr>
|
||
<td>Α</td>
|
||
<td>α</td>
|
||
<td>Β</td>
|
||
<td>β</td>
|
||
<td>Γ</td>
|
||
<td>γ</td>
|
||
<td>Δ</td>
|
||
<td>δ</td>
|
||
<td>Ε</td>
|
||
<td>ε</td>
|
||
<td>Ζ</td>
|
||
<td>ζ</td>
|
||
</tr>
|
||
<tr>
|
||
<td>A*</td>
|
||
<td>a*</td>
|
||
<td>B*</td>
|
||
<td>b*</td>
|
||
<td>G*</td>
|
||
<td>g*</td>
|
||
<td>D*</td>
|
||
<td>d*</td>
|
||
<td>E*</td>
|
||
<td>e*</td>
|
||
<td>Z*</td>
|
||
<td>z*</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<table>
|
||
<tbody>
|
||
<tr>
|
||
<td>Η</td>
|
||
<td>η</td>
|
||
<td>Θ</td>
|
||
<td>θ</td>
|
||
<td>Ι</td>
|
||
<td>ι</td>
|
||
<td>Κ</td>
|
||
<td>κ</td>
|
||
<td>Λ</td>
|
||
<td>λ</td>
|
||
<td>Μ</td>
|
||
<td>μ</td>
|
||
</tr>
|
||
<tr>
|
||
<td>Y*</td>
|
||
<td>y*</td>
|
||
<td>H*</td>
|
||
<td>h*</td>
|
||
<td>I*</td>
|
||
<td>i*</td>
|
||
<td>K*</td>
|
||
<td>k*</td>
|
||
<td>L*</td>
|
||
<td>l*</td>
|
||
<td>M*</td>
|
||
<td>m*</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<table>
|
||
<tbody>
|
||
<tr>
|
||
<td>Ν</td>
|
||
<td>ν</td>
|
||
<td>Ξ</td>
|
||
<td>ξ</td>
|
||
<td>Ο</td>
|
||
<td>ο</td>
|
||
<td>Π</td>
|
||
<td>π</td>
|
||
<td>Ρ</td>
|
||
<td>ρ</td>
|
||
<td>Σ</td>
|
||
<td>σ</td>
|
||
<td>ς</td>
|
||
</tr>
|
||
<tr>
|
||
<td>N*</td>
|
||
<td>n*</td>
|
||
<td>C*</td>
|
||
<td>c*</td>
|
||
<td>O*</td>
|
||
<td>o*</td>
|
||
<td>P*</td>
|
||
<td>p*</td>
|
||
<td>R*</td>
|
||
<td>r*</td>
|
||
<td>S*</td>
|
||
<td>s*</td>
|
||
<td>*s</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<table>
|
||
<tbody>
|
||
<tr>
|
||
<td>Τ</td>
|
||
<td>τ</td>
|
||
<td>Υ</td>
|
||
<td>υ</td>
|
||
<td>Φ</td>
|
||
<td>φ</td>
|
||
<td>Χ</td>
|
||
<td>χ</td>
|
||
<td>Ψ</td>
|
||
<td>ψ</td>
|
||
<td>Ω</td>
|
||
<td>ω</td>
|
||
</tr>
|
||
<tr>
|
||
<td>T*</td>
|
||
<td>t*</td>
|
||
<td>U*</td>
|
||
<td>u*</td>
|
||
<td>F*</td>
|
||
<td>f*</td>
|
||
<td>X*</td>
|
||
<td>x*</td>
|
||
<td>Q*</td>
|
||
<td>q*</td>
|
||
<td>W*</td>
|
||
<td>w*</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<h3 id="triangles">Triangles</h3>
|
||
|
||
<table>
|
||
<tbody>
|
||
<tr>
|
||
<td>▲</td>
|
||
<td>△</td>
|
||
<td>▼</td>
|
||
<td>▽</td>
|
||
</tr>
|
||
<tr>
|
||
<td>UT</td>
|
||
<td>uT</td>
|
||
<td>Dt</td>
|
||
<td>dT</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<table>
|
||
<tbody>
|
||
<tr>
|
||
<td>▶</td>
|
||
<td>▷</td>
|
||
<td>◀</td>
|
||
<td>◁</td>
|
||
</tr>
|
||
<tr>
|
||
<td>PR</td>
|
||
<td>Tr</td>
|
||
<td>PL</td>
|
||
<td>Tl</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<table>
|
||
<tbody>
|
||
<tr>
|
||
<td>»</td>
|
||
<td>«</td>
|
||
<td>〈</td>
|
||
<td>〉</td>
|
||
<td>‹</td>
|
||
<td>›</td>
|
||
</tr>
|
||
<tr>
|
||
<td>»</td>
|
||
<td>«</td>
|
||
<td></</td>
|
||
<td>/></td>
|
||
<td><1</td>
|
||
<td>>1</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<h3 id="arrows">Arrows</h3>
|
||
|
||
<table>
|
||
<tbody>
|
||
<tr>
|
||
<td>←</td>
|
||
<td>→</td>
|
||
<td>↑</td>
|
||
<td>↓</td>
|
||
<td>↕</td>
|
||
<td>↔</td>
|
||
</tr>
|
||
<tr>
|
||
<td><-</td>
|
||
<td>-></td>
|
||
<td>-!</td>
|
||
<td>-v</td>
|
||
<td>UD</td>
|
||
<td><></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<table>
|
||
<tbody>
|
||
<tr>
|
||
<td>⇐</td>
|
||
<td>⇒</td>
|
||
<td>⇔</td>
|
||
</tr>
|
||
<tr>
|
||
<td><=</td>
|
||
<td>=></td>
|
||
<td>==</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<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; }
|
||
</style>
|
||
|
||
|
||
</div>
|
||
|
||
|
||
<ul class="social-list ">
|
||
<li class="facebook link hint--bottom" data-hint="Share on Facebook"><a href="https://www.facebook.com/sharer/sharer.php?u=https://devhints.io/vim-digraphs.html" target="share"><span class="text"></span></a></li>
|
||
<li class="twitter link hint--bottom" data-hint="Share on Twitter"><a href="https://twitter.com/intent/tweet?text=The%20ultimate%20cheatsheet%20for%20Vim%20digraphs.%20https://devhints.io/vim-digraphs.html" target="share"><span class="text"></span></a></li>
|
||
|
||
</ul>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<div class="about-the-site">
|
||
<div class="container">
|
||
<p class='blurb'>
|
||
<strong><a href=".">Devhints.io cheatsheets</a></strong> is a collection of cheatsheets I've written over the years.
|
||
Suggestions and corrections? <a href='https://github.com/rstacruz/cheatsheets/issues/907'>Send them in</a>.
|
||
<i class='fleuron'></i>
|
||
I'm <a href="http://ricostacruz.com">Rico Sta. Cruz</a>.
|
||
Check out my <a href="http://ricostacruz.com/til">Today I learned blog</a> for more.
|
||
</p>
|
||
|
||
|
||
<p class='back'>
|
||
<a class='big-button -back -slim' href='.#toc'></a>
|
||
</p>
|
||
|
||
|
||
<p>
|
||
</p>
|
||
</div>
|
||
</div>
|
||
|
||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.5/highlight.min.js"></script>
|
||
|
||
|
||
|
||
|
||
<script src="https://cdn.rawgit.com/rstacruz/unorphan/v1.0.1/index.js"></script>
|
||
<script>hljs.initHighlightingOnLoad()</script>
|
||
<script>unorphan('h1, h2, h3, p, li, .unorphan')</script>
|
||
|
||
</body>
|
||
</html>
|
||
|