<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>soh335</author_name>
  <author_url>https://blog.hatena.ne.jp/soh335/</author_url>
  <blog_title>soh335 memo</blog_title>
  <blog_url>https://soh335.hatenablog.com/</blog_url>
  <categories>
    <anon>tech</anon>
  </categories>
  <description>autocmd BufReadPost * if ine(&quot;'\&quot;&quot;) &gt; 0 &amp;&amp; line(&quot;'\&quot;&quot;) &lt;= line(&quot;$&quot;) | exe &quot;normal g`\&quot;&quot; | endif と設定していたけど、コミットメッセージを書く際にも効いていてこの場合は先頭位置にカーソルがあるべきなので autocmd BufReadPost * if &amp;filetype != &quot;gitcommit&quot; &amp;&amp; line(&quot;'\&quot;&quot;) &gt; 0 &amp;&amp; line(&quot;'\&quot;&quot;) &lt;= line(&quot;$&quot;) | exe &quot;normal g`\&quot;&quot; | endif とした。 ちなみに、gitcommit というファイ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsoh335.hatenablog.com%2Fentry%2F2016%2F05%2F11%2F214128&quot; title=&quot;vim で再度開いた場合にカーソルの位置を復元する、ただし gitcommit 以外。 - soh335 memo&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-05-11 21:41:28</published>
  <title>vim で再度開いた場合にカーソルの位置を復元する、ただし gitcommit 以外。</title>
  <type>rich</type>
  <url>https://soh335.hatenablog.com/entry/2016/05/11/214128</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
