<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pneumaster</author_name>
  <author_url>https://blog.hatena.ne.jp/pneumaster/</author_url>
  <blog_title>bugfix</blog_title>
  <blog_url>https://pneumaster.hatenadiary.org/</blog_url>
  <categories>
    <anon>vim</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>Cで、 他のソースファイルに公開する関数をヘッダファイルに書くときには .cと同じ名前を持つ.hに（わたしは）命名しています。 function! Open_header_file() let l:hname = fnamemodify(expand(&quot;%&quot;), &quot;:t:r&quot;) execute &quot;edit &quot; l:hname . &quot;.h&quot; unlet l:hname endfunction これで開けるようになりました。 例えば、tmp.cを編集しているときに:call Open_header_file()とコマンドすれば tmp.hが新しくバッファに開かれます。 edit!を使っていないので…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpneumaster.hatenadiary.org%2Fentry%2F20091031%2F1256950616&quot; title=&quot;同じ名前を持つヘッダファイルを開く - bugfix&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>2009-10-31 09:56:56</published>
  <title>同じ名前を持つヘッダファイルを開く</title>
  <type>rich</type>
  <url>https://pneumaster.hatenadiary.org/entry/20091031/1256950616</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
