<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a2c</author_name>
  <author_url>https://blog.hatena.ne.jp/a2c/</author_url>
  <blog_title>When it’s ready.</blog_title>
  <blog_url>https://a2c.hatenablog.com/</blog_url>
  <categories>
    <anon>pyspa</anon>
  </categories>
  <description>今までTextMateで出来ていて、vimで出来ていなかった事 ソース編集中にそのまま、開いているファイルを実行する .vimrcに以下の設定を追加 function! s:Exec() exe &quot;!&quot; . &amp;ft . &quot; %&quot; :endfunction command! Exec call &lt;SID&gt;Exec() map &lt;silent&gt; &lt;C-P&gt; :call &lt;SID&gt;Exec()&lt;CR&gt; ファイルを開いた状態で、CTRL＋p 以上。めちゃ快適id:mopemopeさん 作成 via: id:MiChiLuさんに教わりました。 多謝</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa2c.hatenablog.com%2Fentry%2F20081026%2F1224981769&quot; title=&quot; これは便利！ vimでPythonスクリプトをそのまま実行 - When it’s ready.&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>2008-10-26 09:42:49</published>
  <title> これは便利！ vimでPythonスクリプトをそのまま実行</title>
  <type>rich</type>
  <url>https://a2c.hatenablog.com/entry/20081026/1224981769</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
