<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Run on DO GEESE SEE GOD</title>
    <link>https://skapande.org/tags/run/</link>
    <description>Recent content in Run on DO GEESE SEE GOD</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Mon, 11 May 2026 11:21:45 +0200</lastBuildDate>
    <atom:link href="https://skapande.org/tags/run/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Ruby_runner_nvim</title>
      <link>https://skapande.org/code/ruby_runner_nvim/</link>
      <pubDate>Mon, 11 May 2026 11:21:45 +0200</pubDate>
      <guid>https://skapande.org/code/ruby_runner_nvim/</guid>
      <description>&lt;p&gt;This is a non-technical explanation of how a code-runner mapping should work with Nvim. No code either.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;map F9 (normal mode)&lt;/li&gt;&#xA;&lt;li&gt;open a split (keep reference)&lt;/li&gt;&#xA;&lt;li&gt;run the code in the split&lt;/li&gt;&#xA;&lt;li&gt;in split buffer.. define two new mappings:&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;esc&amp;gt;&lt;/code&gt; (terminal mode)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;esc&amp;gt;&lt;/code&gt; (normal mode)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;both escape-mappings call &amp;lsquo;cleanup&amp;rsquo;.. that closes the split and destroys the buffer.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;This allows you to close the split regardless on if the execution of the script succeeded or failed.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
