<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masawada</author_name>
  <author_url>https://blog.hatena.ne.jp/masawada/</author_url>
  <blog_title>あんパン</blog_title>
  <blog_url>https://masawada.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>欲しいときがありますよね。 masawada.hatenablog.jp 方法は4年前に書いてたんですが、最近欲しくなってちまちま打つのがだるくなってきたのでgitのサブコマンドにしました。Vimを使っているので直接Vimに流し込んでいます。pecoが2回起動するので、ブランチ名とファイル名を指定すると開けます。git-afとして保存して、git afコマンドとして使っています。afはアトラクタフィールドの略です。 doautocmd BufRead $(basename $FILE_PATH) がキモで、シンタックスハイライトを正しく指定しつつ開いてくれます。 dotfiles/git-af…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmasawada.hatenablog.jp%2Fentry%2F2020%2F10%2F09%2F174122&quot; title=&quot;別ブランチの特定のファイルを直接開くコマンド - あんパン&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>2020-10-09 17:41:22</published>
  <title>別ブランチの特定のファイルを直接開くコマンド</title>
  <type>rich</type>
  <url>https://masawada.hatenablog.jp/entry/2020/10/09/174122</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
