<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>docs/vision.md - fork/helix @ master</title>
<meta name="description" content="docs/vision.md in fork/helix at master.">
<meta property="og:title" content="docs/vision.md - fork/helix @ master">
<meta property="og:description" content="docs/vision.md in fork/helix at master.">
<meta property="og:type" content="website">
<meta property="og:site_name" content="git.julia.blue">
<link rel="stylesheet" href="/css/style.css?v=62">
<script type="module" src="/js/main.js?v=62"></script>
</head>
<body>
<main data-ref="master" data-tip="10f07d7eb089430930e6d3547a98b440b927d025">
<noscript>
  <div class="callout">
    <p>
      hey! this is a static git repo viewer. commit diffs, file history,
      older commits and other revisions won't load without javascript.
    </p>
    <p>
      you are still able to view source files on branch/tag tips,
      but the experience is degraded.
    </p>
  </div>
</noscript>
<header class="repo"><div>
<h1>fork/helix</h1>
</div>
<pre class="clone">git clone https://git.julia.blue/fork/helix</pre>
</header>
<p class="snapshot-commit"><span class="commit-author">Kirawi</span><span class="commit-message" data-commit="b0cdc2d6e14f782c9247e16b59ab4156daac471c">remove mention of Wasm from `vision.md` (#7395)</span><span class="snapshot-sha sha" data-commit="b0cdc2d6e14f782c9247e16b59ab4156daac471c">b0cdc2d6</span><time datetime="2023-06-20T00:10:50-04:00" title="2023-06-20 00:10:50 -0400">2023-06-20</time></p>
<header class="topbar"><details class="switcher"><summary>master</summary><div class="menu"><strong>branches</strong><a class="current" href="/fork/helix/ref/master/">master</a><strong>tags</strong><a href="/fork/helix/ref/23.05/">23.05</a><a href="/fork/helix/ref/23.10/">23.10</a><a href="/fork/helix/ref/24.03/">24.03</a><a href="/fork/helix/ref/24.07/">24.07</a><a href="/fork/helix/ref/25.01/">25.01</a><a href="/fork/helix/ref/25.01.1/">25.01.1</a><a href="/fork/helix/ref/25.07/">25.07</a><a href="/fork/helix/ref/25.07.1/">25.07.1</a><a class="all" href="/fork/helix/refs">all refs →</a></div></details><nav class="crumbs"><a href="/fork/helix/">helix</a> / <a href="/fork/helix/ref/master/tree/docs/">docs</a> / <span class="cur">vision.md</span></nav>
<span class="view-stats"><span>3.2 KiB</span><span>24 lines</span></span><span class="actions"><a class="raw" href="/fork/helix/raw/d9f1a8ac1a48996d35bd3eee10cf95da7bf408c2/docs/vision.md">raw</a></span></header>
<div class="markdown-view"><input type="radio" name="markdown-view" id="markdown-rendered" checked><label for="markdown-rendered">rendered</label><input type="radio" name="markdown-view" id="markdown-code"><label for="markdown-code">code</label><section class="readme rendered"><p>The Helix project still has a ways to go before reaching its goals.  This document outlines some of those goals and the overall vision for the project.</p>
<h1>Vision</h1>
<p>An efficient, batteries-included editor you can take anywhere and be productive... if it's your kind of thing.</p>
<ul>
<li><strong>Cross-platform.</strong>  Whether on Linux, Windows, or OSX, you should be able to take your editor with you.</li>
<li><strong>Terminal first.</strong>  Not all environments have a windowing system, and you shouldn't have to abandon your preferred editor in those cases.</li>
<li><strong>Native.</strong>  No Electron or HTML DOM here.  We want an efficient, native-compiled editor that can run with minimal resources when needed.  If you're working on a Raspberry Pi, your editor shouldn't consume half of your RAM.</li>
<li><strong>Batteries included.</strong>  Both the default configuration and bundled features should be enough to have a good editing experience and be productive.  You shouldn't need a massive custom config or external executables and plugins for basic features and functionality.</li>
<li><strong>Don't try to be everything for everyone.</strong>  There are many great editors out there to choose from.  Let's make Helix <em>one of</em> those great options, with its own take on things.</li>
</ul>
<h1>Goals</h1>
<p>Vision statements are all well and good, but are also vague and subjective.  Here is a (non-exhaustive) list of some of Helix's more concrete goals, to help give a clearer idea of the project's direction:</p>
<ul>
<li><strong>Modal.</strong>  Vim is a great idea.</li>
<li><strong>Selection -&gt; Action</strong>, not Verb -&gt; Object.  Interaction models aren't linguistics, and "selection first" lets you see what you're doing (among other benefits).</li>
<li><strong>We aren't playing code golf.</strong>  It's more important for the keymap to be consistent and easy to memorize than it is to save a key stroke or two when editing.</li>
<li><strong>Built-in tools</strong> for working with code bases efficiently.  Most projects aren't a single file, and an editor should handle that as a first-class use case.  In Helix's case, this means (among other things) a fuzzy-search file navigator and LSP support.</li>
<li><strong>Edit anything</strong> that comes up when coding, within reason.  Whether it's a 200 MB XML file, a megabyte of minified javascript on a single line, or Japanese text encoded in ShiftJIS, you should be able to open it and edit it without problems.  (Note: this doesn't mean handle every esoteric use case.  Sometimes you do just need a specialized tool, and Helix isn't that.)</li>
<li><strong>Configurable</strong>, within reason.  Although the defaults should be good, not everyone will agree on what "good" is.  Within the bounds of Helix's core interaction models, it should be reasonably configurable so that it can be "good" for more people.  This means, for example, custom key maps among other things.</li>
<li><strong>Extensible</strong>, within reason.  Although we want Helix to be productive out-of-the-box, it's not practical or desirable to cram every useful feature and use case into the core editor.  The basics should be built-in, but you should be able to extend it with additional functionality as needed.</li>
<li><strong>Clean code base.</strong>  Sometimes other factors (e.g. significant performance gains, important features, correctness, etc.) will trump strict readability, but we nevertheless want to keep the code base straightforward and easy to understand to the extent we can.</li>
</ul>
</section><div class="code-panel"><pre class="code src language-markdown"><span class="code-line"><a class="ln" id="L1" href="#L1">1</a><span class="code-text">The Helix project still has a ways to go before reaching its goals.  This document outlines some of those goals and the overall vision for the project.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2" href="#L2">2</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3" href="#L3">3</a><span class="code-text"><a-p>#</a-p> <a-tt>Vision</a-tt></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4" href="#L4">4</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5" href="#L5">5</a><span class="code-text">An efficient, batteries-included editor you can take anywhere and be productive... if it&#39;s your kind of thing.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6" href="#L6">6</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7" href="#L7">7</a><span class="code-text"><a-p>* </a-p>**Cross-platform.**  Whether on Linux, Windows, or OSX, you should be able to take your editor with you.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8" href="#L8">8</a><span class="code-text"><a-p>* </a-p>**Terminal first.**  Not all environments have a windowing system, and you shouldn&#39;t have to abandon your preferred editor in those cases.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L9" href="#L9">9</a><span class="code-text"><a-p>* </a-p>**Native.**  No Electron or HTML DOM here.  We want an efficient, native-compiled editor that can run with minimal resources when needed.  If you&#39;re working on a Raspberry Pi, your editor shouldn&#39;t consume half of your RAM.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L10" href="#L10">10</a><span class="code-text"><a-p>* </a-p>**Batteries included.**  Both the default configuration and bundled features should be enough to have a good editing experience and be productive.  You shouldn&#39;t need a massive custom config or external executables and plugins for basic features and functionality.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L11" href="#L11">11</a><span class="code-text"><a-p>* </a-p>**Don&#39;t try to be everything for everyone.**  There are many great editors out there to choose from.  Let&#39;s make Helix *one of* those great options, with its own take on things.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L12" href="#L12">12</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L13" href="#L13">13</a><span class="code-text"><a-p># </a-p><a-tt>Goals</a-tt></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L14" href="#L14">14</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L15" href="#L15">15</a><span class="code-text"><a-p>Vision statements are all well and good, but are also vague and subjective.  Here is a (non-exhaustive) list of some of Helix&#39;s more concrete goals, to help give a clearer idea of the project&#39;s direction:</a-p></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L16" href="#L16">16</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L17" href="#L17">17</a><span class="code-text"><a-p>* **Modal.**  Vim is a great idea.</a-p></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L18" href="#L18">18</a><span class="code-text"><a-p>* **Selection -&gt; Action**, not Verb -&gt; Object.  Interaction models aren&#39;t linguistics, and &quot;selection first&quot; lets you see what you&#39;re doing (among other benefits).</a-p></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L19" href="#L19">19</a><span class="code-text"><a-p>* **We aren&#39;t playing code golf.**  It&#39;s more important for the keymap to be consistent and easy to memorize than it is to save a key stroke or two when editing.</a-p></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L20" href="#L20">20</a><span class="code-text"><a-p>* **Built-in tools** for working with code bases efficiently.  Most projects aren&#39;t a single file, and an editor should handle that as a first-class use case.  In Helix&#39;s case, this means (among other things) a fuzzy-search file navigator and LSP support.</a-p></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L21" href="#L21">21</a><span class="code-text"><a-p>* **Edit anything** that comes up when coding, within reason.  Whether it&#39;s a 200 MB XML file, a megabyte of minified javascript on a single line, or Japanese text encoded in ShiftJIS, you should be able to open it and edit it without problems.  (Note: this doesn&#39;t mean handle every esoteric use case.  Sometimes you do just need a specialized tool, and Helix isn&#39;t that.)</a-p></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L22" href="#L22">22</a><span class="code-text"><a-p>* **Configurable**, within reason.  Although the defaults should be good, not everyone will agree on what &quot;good&quot; is.  Within the bounds of Helix&#39;s core interaction models, it should be reasonably configurable so that it can be &quot;good&quot; for more people.  This means, for example, custom key maps among other things.</a-p></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L23" href="#L23">23</a><span class="code-text"><a-p>* **Extensible**, within reason.  Although we want Helix to be productive out-of-the-box, it&#39;s not practical or desirable to cram every useful feature and use case into the core editor.  The basics should be built-in, but you should be able to extend it with additional functionality as needed.</a-p></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L24" href="#L24">24</a><span class="code-text"><a-p>* </a-p>**Clean code base.**  Sometimes other factors (e.g. significant performance gains, important features, correctness, etc.) will trump strict readability, but we nevertheless want to keep the code base straightforward and easy to understand to the extent we can.</span></span></pre></div></div>
</main>
</body>
</html>
