You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zk/docs/assets/media/list.svg

99 lines
21 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="terminal" baseProfile="full" viewBox="-70 -25 827 558" width="827" height="558" version="1.1">
<defs>
<termtosvg:template_settings xmlns:termtosvg="https://github.com/nbedos/termtosvg">
<termtosvg:screen_geometry columns="80" rows="25"/>
<termtosvg:animation type="css"/>
</termtosvg:template_settings>
<style type="text/css" id="generated-style"><![CDATA[#screen {
font-family: 'DejaVu Sans Mono', monospace;
font-style: normal;
font-size: 14px;
}
text {
dominant-baseline: text-before-edge;
white-space: pre;
}
:root {
--animation-duration: 42409ms;
}
@keyframes roll {
0.000%{transform:translateY(0px)}
1.827%{transform:translateY(-442px)}
6.921%{transform:translateY(-884px)}
7.123%{transform:translateY(-1326px)}
17.730%{transform:translateY(-1768px)}
26.459%{transform:translateY(-2210px)}
33.125%{transform:translateY(-2652px)}
45.453%{transform:translateY(-3094px)}
49.336%{transform:translateY(-3536px)}
50.678%{transform:translateY(-3978px)}
57.792%{transform:translateY(-4420px)}
69.485%{transform:translateY(-4862px)}
73.949%{transform:translateY(-5304px)}
77.057%{transform:translateY(-5746px)}
85.649%{transform:translateY(-6188px)}
97.642%{transform:translateY(-6630px)}
100.000%{transform:translateY(-6630px)}
}
#screen_view {
animation-duration: 42409ms;
animation-iteration-count:infinite;
animation-name:roll;
animation-timing-function: steps(1,end);
animation-fill-mode: forwards;
}
]]></style>
<style type="text/css" id="user-style">
/* The colors defined below are the default 16 colors used for rendering text of the terminal. Adjust
them as needed.
gjm8 color theme (source: https://terminal.sexy/) */
.foreground {fill: #ECEFF4} /* nord6 */
.background {fill: #2E3440} /* nord0 */
.color0 {fill: #3B4252} /* nord1 */
.color1 {fill: #BF616A} /* nord11 */
.color2 {fill: #A3BE8C} /* nord14 */
.color3 {fill: #EBCB8B} /* nord13 */
.color4 {fill: #81A1C1} /* nord9 */
.color5 {fill: #B48EAD} /* nord15 */
.color6 {fill: #88C0D0} /* nord8 */
.color7 {fill: #ECEFF4} /* nord5 */
.color8 {fill: #434C5E} /* nord3 */
.color9 {fill: #BF616A} /* nord11 */
.color10 {fill: #A3BE8C} /* nord14 */
.color11 {fill: #EBCB8B} /* nord13 */
.color12 {fill: #81A1C1} /* nord9 */
.color13 {fill: #B48EAD} /* nord15 */
.color14 {fill: #8FBCBB} /* nord7 */
.color15 {fill: #ECEFF4} /* nord6 */
#screen {
font-family: Monaco, Consolas, Menlo, 'Bitstream Vera Sans Mono', 'Powerline Symbols', monospace;
font-size: 13px;
}
</style>
<filter id="dropshadow" height="130%">
<feGaussianBlur in="SourceAlpha" stdDeviation="16"/>
<feOffset dx="2" dy="14" result="offsetblur"/>
<feComponentTransfer>
<feFuncA type="linear" slope="0.9"/>
</feComponentTransfer>
<feMerge>
<feMergeNode/>
<feMergeNode in="SourceGraphic"/>
</feMerge>
</filter>
</defs>
<rect id="terminalui" class="background" width="680" height="485" ry="4.5826941" filter="url(#dropshadow)"/>
<circle cx="24" cy="23" r="7" class="color1"/>
<circle cx="44" cy="23" r="7" class="color3"/>
<circle cx="64" cy="23" r="7" class="color2"/>
<svg id="screen" width="640" height="425" x="20" y="40" viewBox="0 0 640 425" preserveAspectRatio="xMidYMin slice"><rect class="background" height="100%" width="100%" x="0" y="0"/><defs><g id="g1"><text x="0" textLength="640" class="foreground"> </text></g><g id="g2"><text x="0" textLength="16" class="foreground">$ </text><text x="16" textLength="8" class="background"> </text><text x="24" textLength="616" class="foreground"> </text></g><g id="g3"><text x="0" textLength="144" class="foreground">$ zk list journal/</text><text x="144" textLength="8" class="background"> </text><text x="152" textLength="488" class="foreground"> </text></g><g id="g4"><text x="0" textLength="640" class="foreground">$ zk list journal/ </text></g><g id="g5"><text x="0" textLength="8" class="background"> </text></g><g id="g6"><text x="0" textLength="112" font-weight="bold" class="color11">March 05, 2021</text><text x="112" textLength="8" class="foreground"> </text><text x="120" textLength="168" text-decoration="underline" class="color6">journal/2021-03-05.md</text><text x="288" textLength="136" class="foreground"> (46 minutes ago)</text></g><g id="g7"><text x="0" textLength="192" class="foreground"> &#8227; What did I do today?</text></g><g id="g8"><text x="0" textLength="40" class="foreground"> *</text></g><g id="g9"><text x="0" textLength="96" class="foreground">Found 1 note</text></g><g id="g10"><text x="0" textLength="104" class="foreground">$ zk list -n2</text><text x="104" textLength="8" class="background"> </text><text x="112" textLength="528" class="foreground"> </text></g><g id="g11"><text x="0" textLength="240" class="foreground">$ zk list -n2 --match "create"</text><text x="240" textLength="8" class="background"> </text><text x="248" textLength="392" class="foreground"> </text></g><g id="g12"><text x="0" textLength="640" class="foreground">$ zk list -n2 --match "create" </text></g><g id="g13"><text x="0" textLength="288" font-weight="bold" class="color11">Template context when creating notes</text><text x="288" textLength="8" class="foreground"> </text><text x="296" textLength="160" text-decoration="underline" class="color6">template-creation.md</text><text x="456" textLength="112" class="foreground"> (3 weeks ago)</text></g><g id="g14"><text x="0" textLength="560" class="foreground"> &#8227; The following variables are available in the templates used when [</text><text x="560" textLength="64" class="color1">creating</text><text x="624" textLength="16" class="foreground"> n</text></g><g id="g15"><text x="0" textLength="416" class="foreground">ew notes](note-creation.md) &#8211; both for the filename&#8230;</text></g><g id="g16"><text x="0" textLength="152" font-weight="bold" class="color11">Creating a new note</text><text x="152" textLength="8" class="foreground"> </text><text x="160" textLength="128" text-decoration="underline" class="color6">note-creation.md</text><text x="288" textLength="112" class="foreground"> (2 weeks ago)</text></g><g id="g17"><text x="0" textLength="280" class="foreground"> &#8227; &#8230;From `fzf`, press `Ctrl-E` to </text><text x="280" textLength="48" class="color1">create</text><text x="328" textLength="312" class="foreground"> a new note using the current search qu</text></g><g id="g18"><text x="0" textLength="104" class="foreground">ery as title.</text></g><g id="g19"><text x="0" textLength="32" class="foreground"> </text></g><g id="g20"><text x="0" textLength="56" class="foreground"> ## </text><text x="56" textLength="48" class="color1">Create</text><text x="104" textLength="64" class="foreground"> a note&#8230;</text></g><g id="g21"><text x="0" textLength="104" class="foreground">Found 2 notes</text></g><g id="g22"><text x="0" textLength="232" class="foreground">$ zk list -n2 --match "create</text><text x="232" textLength="8" class="background">"</text><text x="240" textLength="400" class="foreground"> </text></g><g id="g23"><text x="0" textLength="296" class="foreground">$ zk list -n2 --match "create OR edit</text><text x="296" textLength="8" class="background">"</text><text x="304" textLength="336" class="foreground"> </text></g><g id="g24"><text x="0" textLength="640" class="foreground">$ zk list -n2 --match "create OR edit" </text></g><g id="g25"><text x="0" textLength="184" font-weight="bold" class="color11">Getting started with zk</text><text x="184" textLength="8" class="foreground"> </text><text x="192" textLength="144" text-decoration="underline" class="color6">getting-started.md</text><text x="336" textLength="112" class="foreground"> (2 weeks ago)</text></g><g id="g26"><text x="0" textLength="232" class="foreground"> &#8227; &#8230;From `zk`'s interactive </text><text x="232" textLength="32" class="color1">edit</text><text x="264" textLength="216" class="foreground"> screen, press `Ctrl-E` to </text><text x="480" textLength="48" class="color1">create</text><text x="528" textLength="112" class="foreground"> a new note us</text></g><g id="g27"><text x="0" textLength="256" class="foreground">ing the current search query as&#8230;</text></g><g id="g28"><text x="0" textLength="120" font-weight="bold" class="color11">Command aliases</text><text x="120" textLength="8" class="foreground"> </text><text x="128" textLength="120" text-decoration="underline" class="color6">config-alias.md</text><text x="248" textLength="112" class="foreground"> (2 weeks ago)</text></g><g id="g29"><text x="0" textLength="184" class="foreground"> &#8227; &#8230;the trailing `$@`.</text></g><g id="g30"><text x="0" textLength="88" class="foreground"> ```toml</text></g><g id="g31"><text x="0" textLength="136" class="foreground"> recent = "zk </text><text x="136" textLength="32" class="color1">edit</text><text x="168" textLength="64" class="foreground"> --sort </text><text x="232" textLength="56" class="color1">created</text><text x="288" textLength="32" class="foreground">- --</text><text x="320" textLength="56" class="color1">created</text><text x="376" textLength="264" class="foreground">-after 'last two weeks' --interac</text></g><g id="g32"><text x="0" textLength="40" class="foreground">tive"</text></g><g id="g33"><text x="0" textLength="56" class="foreground"> ```</text></g><g id="g34"><text x="0" textLength="64" class="foreground"> ### </text><text x="64" textLength="32" class="color1">Edit</text><text x="96" textLength="184" class="foreground"> the configuration file</text></g><g id="g35"><text x="0" textLength="104" class="foreground"> Here's a&#8230;</text></g><g id="g36"><text x="0" textLength="304" class="foreground">$ zk list -n2 --match "create OR edit"</text><text x="304" textLength="8" class="background"> </text><text x="312" textLength="328" class="foreground"> </text></g><g id="g37"><text x="0" textLength="352" class="foreground">$ zk list -n2 --match "create OR edit -alias</text><text x="352" textLength="8" class="background">"</text><text x="360" textLength="280" class="foreground"> </text></g><g id="g38"><text x="0" textLength="640" class="foreground">$ zk list -n2 --match "create OR edit -alias" </text></g><g id="g39"><text x="0" textLength="104" class="foreground"> &#8227; &#8230;note or </text><text x="104" textLength="64" class="color1">creating</text><text x="168" textLength="240" class="foreground"> a new one in a single action.</text></g><g id="g40"><text x="0" textLength="368" class="foreground"> This option is available when running `zk </text><text x="368" textLength="32" class="color1">edit</text><text x="400" textLength="184" class="foreground"> --interactive`, which&#8230;</text></g><g id="g41"><text x="0" textLength="640" class="foreground">$ </text></g></defs><g id="screen_view"><g><use xlink:href="#g1" y="0"/><rect x="16" y="17" width="8" height="17" class="foreground"/><use xlink:href="#g2" y="17"/></g><g><use xlink:href="#g1" y="442"/><rect x="144" y="459" width="8" height="17" class="foreground"/><use xlink:href="#g3" y="459"/></g><g><use xlink:href="#g1" y="884"/><use xlink:href="#g4" y="901"/><rect x="0" y="918" width="8" height="17" class="foreground"/><use xlink:href="#g5" y="918"/></g><g><use xlink:href="#g1" y="1326"/><use xlink:href="#g4" y="1343"/><use xlink:href="#g6" y="1360"/><use xlink:href="#g7" y="1394"/><use xlink:href="#g8" y="1411"/><use xlink:href="#g1" y="1428"/><use xlink:href="#g9" y="1462"/><use xlink:href="#g1" y="1479"/><use xlink:href="#g1" y="1496"/><rect x="16" y="1513" width="8" height="17" class="foreground"/><use xlink:href="#g2" y="1513"/></g><g><use xlink:href="#g1" y="1768"/><use xlink:href="#g4" y="1785"/><use xlink:href="#g6" y="1802"/><use xlink:href="#g7" y="1836"/><use xlink:href="#g8" y="1853"/><use xlink:href="#g1" y="1870"/><use xlink:href="#g9" y="1904"/><use xlink:href="#g1" y="1921"/><use xlink:href="#g1" y="1938"/><rect x="104" y="1955" width="8" height="17" class="foreground"/><use xlink:href="#g10" y="1955"/></g><g><use xlink:href="#g1" y="2210"/><use xlink:href="#g4" y="2227"/><use xlink:href="#g6" y="2244"/><use xlink:href="#g7" y="2278"/><use xlink:href="#g8" y="2295"/><use xlink:href="#g1" y="2312"/><use xlink:href="#g9" y="2346"/><use xlink:href="#g1" y="2363"/><use xlink:href="#g1" y="2380"/><rect x="240" y="2397" width="8" height="17" class="foreground"/><use xlink:href="#g11" y="2397"/></g><g><use xlink:href="#g7" y="2652"/><use xlink:href="#g8" y="2669"/><use xlink:href="#g1" y="2686"/><use xlink:href="#g9" y="2720"/><use xlink:href="#g1" y="2737"/><use xlink:href="#g1" y="2754"/><use xlink:href="#g12" y="2771"/><use xlink:href="#g13" y="2788"/><use xlink:href="#g14" y="2822"/><use xlink:href="#g15" y="2839"/><use xlink:href="#g16" y="2873"/><use xlink:href="#g17" y="2907"/><use xlink:href="#g18" y="2924"/><use xlink:href="#g19" y="2941"/><use xlink:href="#g20" y="2958"/><use xlink:href="#g1" y="2975"/><use xlink:href="#g21" y="3009"/><use xlink:href="#g1" y="3026"/><use xlink:href="#g1" y="3043"/><rect x="16" y="3060" width="8" height="17" class="foreground"/><use xlink:href="#g2" y="3060"/></g><g><use xlink:href="#g7" y="3094"/><use xlink:href="#g8" y="3111"/><use xlink:href="#g1" y="3128"/><use xlink:href="#g9" y="3162"/><use xlink:href="#g1" y="3179"/><use xlink:href="#g1" y="3196"/><use xlink:href="#g12" y="3213"/><use xlink:href="#g13" y="3230"/><use xlink:href="#g14" y="3264"/><use xlink:href="#g15" y="3281"/><use xlink:href="#g16" y="3315"/><use xlink:href="#g17" y="3349"/><use xlink:href="#g18" y="3366"/><use xlink:href="#g19" y="3383"/><use xlink:href="#g20" y="3400"/><use xlink:href="#g1" y="3417"/><use xlink:href="#g21" y="3451"/><use xlink:href="#g1" y="3468"/><use xlink:href="#g1" y="3485"/><rect x="240" y="3502" width="8" height="17" class="foreground"/><use xlink:href="#g11" y="3502"/></g><g><use xlink:href="#g7" y="3536"/><use xlink:href="#g8" y="3553"/><use xlink:href="#g1" y="3570"/><use xlink:href="#g9" y="3604"/><use xlink:href="#g1" y="3621"/><use xlink:href="#g1" y="3638"/><use xlink:href="#g12" y="3655"/><use xlink:href="#g13" y="3672"/><use xlink:href="#g14" y="3706"/><use xlink:href="#g15" y="3723"/><use xlink:href="#g16" y="3757"/><use xlink:href="#g17" y="3791"/><use xlink:href="#g18" y="3808"/><use xlink:href="#g19" y="3825"/><use xlink:href="#g20" y="3842"/><use xlink:href="#g1" y="3859"/><use xlink:href="#g21" y="3893"/><use xlink:href="#g1" y="3910"/><use xlink:href="#g1" y="3927"/><rect x="232" y="3944" width="8" height="17" class="foreground"/><use xlink:href="#g22" y="3944"/></g><g><use xlink:href="#g7" y="3978"/><use xlink:href="#g8" y="3995"/><use xlink:href="#g1" y="4012"/><use xlink:href="#g9" y="4046"/><use xlink:href="#g1" y="4063"/><use xlink:href="#g1" y="4080"/><use xlink:href="#g12" y="4097"/><use xlink:href="#g13" y="4114"/><use xlink:href="#g14" y="4148"/><use xlink:href="#g15" y="4165"/><use xlink:href="#g16" y="4199"/><use xlink:href="#g17" y="4233"/><use xlink:href="#g18" y="4250"/><use xlink:href="#g19" y="4267"/><use xlink:href="#g20" y="4284"/><use xlink:href="#g1" y="4301"/><use xlink:href="#g21" y="4335"/><use xlink:href="#g1" y="4352"/><use xlink:href="#g1" y="4369"/><rect x="296" y="4386" width="8" height="17" class="foreground"/><use xlink:href="#g23" y="4386"/></g><g><use xlink:href="#g1" y="4420"/><use xlink:href="#g24" y="4437"/><use xlink:href="#g25" y="4454"/><use xlink:href="#g26" y="4488"/><use xlink:href="#g27" y="4505"/><use xlink:href="#g28" y="4539"/><use xlink:href="#g29" y="4573"/><use xlink:href="#g19" y="4590"/><use xlink:href="#g30" y="4607"/><use xlink:href="#g31" y="4624"/><use xlink:href="#g32" y="4641"/><use xlink:href="#g33" y="4658"/><use xlink:href="#g19" y="4675"/><use xlink:href="#g34" y="4692"/><use xlink:href="#g19" y="4709"/><use xlink:href="#g35" y="4726"/><use xlink:href="#g1" y="4743"/><use xlink:href="#g21" y="4777"/><use xlink:href="#g1" y="4794"/><use xlink:href="#g1" y="4811"/><rect x="16" y="4828" width="8" height="17" class="foreground"/><use xlink:href="#g2" y="4828"/></g><g><use xlink:href="#g1" y="4862"/><use xlink:href="#g24" y="4879"/><use xlink:href="#g25" y="4896"/><use xlink:href="#g26" y="4930"/><use xlink:href="#g27" y="4947"/><use xlink:href="#g28" y="4981"/><use xlink:href="#g29" y="5015"/><use xlink:href="#g19" y="5032"/><use xlink:href="#g30" y="5049"/><use xlink:href="#g31" y="5066"/><use xlink:href="#g32" y="5083"/><use xlink:href="#g33" y="5100"/><use xlink:href="#g19" y="5117"/><use xlink:href="#g34" y="5134"/><use xlink:href="#g19" y="5151"/><use xlink:href="#g35" y="5168"/><use xlink:href="#g1" y="5185"/><use xlink:href="#g21" y="5219"/><use xlink:href="#g1" y="5236"/><use xlink:href="#g1" y="5253"/><rect x="304" y="5270" width="8" height="17" class="foreground"/><use xlink:href="#g36" y="5270"/></g><g><use xlink:href="#g1" y="5304"/><use xlink:href="#g24" y="5321"/><use xlink:href="#g25" y="5338"/><use xlink:href="#g26" y="5372"/><use xlink:href="#g27" y="5389"/><use xlink:href="#g28" y="5423"/><use xlink:href="#g29" y="5457"/><use xlink:href="#g19" y="5474"/><use xlink:href="#g30" y="5491"/><use xlink:href="#g31" y="5508"/><use xlink:href="#g32" y="5525"/><use xlink:href="#g33" y="5542"/><use xlink:href="#g19" y="5559"/><use xlink:href="#g34" y="5576"/><use xlink:href="#g19" y="5593"/><use xlink:href="#g35" y="5610"/><use xlink:href="#g1" y="5627"/><use xlink:href="#g21" y="5661"/><use xlink:href="#g1" y="5678"/><use xlink:href="#g1" y="5695"/><rect x="296" y="5712" width="8" height="17" class="foreground"/><use xlink:href="#g23" y="5712"/></g><g><use xlink:href="#g1" y="5746"/><use xlink:href="#g24" y="5763"/><use xlink:href="#g25" y="5780"/><use xlink:href="#g26" y="5814"/><use xlink:href="#g27" y="5831"/><use xlink:href="#g28" y="5865"/><use xlink:href="#g29" y="5899"/><use xlink:href="#g19" y="5916"/><use xlink:href="#g30" y="5933"/><use xlink:href="#g31" y="5950"/><use xlink:href="#g32" y="5967"/><use xlink:href="#g33" y="5984"/><use xlink:href="#g19" y="6001"/><use xlink:href="#g34" y="6018"/><use xlink:href="#g19" y="6035"/><use xlink:href="#g35" y="6052"/><use xlink:href="#g1" y="6069"/><use xlink:href="#g21" y="6103"/><use xlink:href="#g1" y="6120"/><use xlink:href="#g1" y="6137"/><rect x="352" y="6154" width="8" height="17" class="foreground"/><use xlink:href="#g37" y="6154"/></g><g><use xlink:href="#g34" y="6188"/><use xlink:href="#g19" y="6205"/><use xlink:href="#g35" y="6222"/><use xlink:href="#g1" y="6239"/><use xlink:href="#g21" y="6273"/><use xlink:href="#g1" y="6290"/><use xlink:href="#g1" y="6307"/><use xlink:href="#g38" y="6324"/><use xlink:href="#g25" y="6341"/><use xlink:href="#g26" y="6375"/><use xlink:href="#g27" y="6392"/><use xlink:href="#g16" y="6426"/><use xlink:href="#g39" y="6460"/><use xlink:href="#g19" y="6477"/><use xlink:href="#g40" y="6494"/><use xlink:href="#g1" y="6511"/><use xlink:href="#g21" y="6545"/><use xlink:href="#g1" y="6562"/><use xlink:href="#g1" y="6579"/><rect x="16" y="6596" width="8" height="17" class="foreground"/><use xlink:href="#g2" y="6596"/></g><g><use xlink:href="#g19" y="6630"/><use xlink:href="#g35" y="6647"/><use xlink:href="#g1" y="6664"/><use xlink:href="#g21" y="6698"/><use xlink:href="#g1" y="6715"/><use xlink:href="#g1" y="6732"/><use xlink:href="#g38" y="6749"/><use xlink:href="#g25" y="6766"/><use xlink:href="#g26" y="6800"/><use xlink:href="#g27" y="6817"/><use xlink:href="#g16" y="6851"/><use xlink:href="#g39" y="6885"/><use xlink:href="#g19" y="6902"/><use xlink:href="#g40" y="6919"/><use xlink:href="#g1" y="6936"/><use xlink:href="#g21" y="6970"/><use xlink:href="#g1" y="6987"/><use xlink:href="#g1" y="7004"/><use xlink:href="#g41" y="7021"/><rect x="0" y="7038" width="8" height="17" class="foreground"/><use xlink:href="#g5" y="7038"/></g></g></svg>
</svg>