<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>guyon</author_name>
  <author_url>https://blog.hatena.ne.jp/guyon/</author_url>
  <blog_title>Guyon Diary</blog_title>
  <blog_url>https://guyon.hatenablog.jp/</blog_url>
  <categories>
    <anon>vim</anon>
    <anon>Ruby</anon>
  </categories>
  <description>Expression レジスタをはじめて使った。 vimはvimscriptで色々な処理を行えるけど、Expression レジスタは入力中に計算した結果を表示したいとか 関数や式の結果を入力したいという場合に使えるみたい。 例えば、カレントディレクトを表示する場合。 =でExpression入力モードを表示し、getcwd()を入力しエンター Insertモードで表示されているカーソル部分ににgetcwd()で返されたカレントパスが入力される 出力結果例 /home/foo良いと思った点 組み込み関数だけでなく自分で定義した関数も使える。 変数も使える。 evalも使える。 設定によってはt…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fguyon.hatenablog.jp%2Fentry%2F20071114%2F1195052181&quot; title=&quot; vimのExpression レジスタが面白い - Guyon Diary&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-11-14 23:56:21</published>
  <title> vimのExpression レジスタが面白い</title>
  <type>rich</type>
  <url>https://guyon.hatenablog.jp/entry/20071114/1195052181</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
