<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>y-kamiya</author_name>
  <author_url>https://blog.hatena.ne.jp/y-kamiya/</author_url>
  <blog_title>MEMOcho-</blog_title>
  <blog_url>https://jsapachehtml.hatenablog.com/</blog_url>
  <categories>
    <anon>vim</anon>
  </categories>
  <description>特定のファイルにコマンドの出力を書き出したいときはこれ !をつけることで新規のファイルでも書き込める :redir! &gt; file :echo 'aaa' :redir end これでaaaという文字列がfileに書かれる ちなみにredirはrediと省略して書ける また、rediはredirectの略 ファイルに追記したい場合は&gt;&gt;を使えばよい :redi &gt;&gt; % :echo 'bbb' :redi end これでbbbという文字列が現在編集中のファイルの末尾に追記される(bufferに反映させるには:e!する必要あり) 出力をレジスタに入れることもできる :redi @a :echo …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjsapachehtml.hatenablog.com%2Fentry%2F2016%2F10%2F15%2F104248&quot; title=&quot;vimでコマンドの出力をキャプチャする - MEMOcho-&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>2016-10-15 10:42:48</published>
  <title>vimでコマンドの出力をキャプチャする</title>
  <type>rich</type>
  <url>https://jsapachehtml.hatenablog.com/entry/2016/10/15/104248</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
