<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>panda_noir</author_name>
  <author_url>https://blog.hatena.ne.jp/panda_noir/</author_url>
  <blog_title>Panda Noir</blog_title>
  <blog_url>https://www.pandanoir.info/</blog_url>
  <categories>
    <anon>Vim</anon>
  </categories>
  <description>「選択範囲内で検索する」ではなく、「選択した文字列で検索する」というTipです。 ヤンクする /を入力する(検索できる状態にする) &lt;C-r&gt;を押す ヤンクしたレジスタ名を入力する(ただのyでヤンクした場合は、無名レジスタなので&quot;を押せばOK) まあこれだけのTipです。 まとめると ヤンク / &lt;C-r&gt; &quot;となります。カンタンですね。 応用例 よく考えると「&lt;C-r&gt; レジスタ名と入力すると、そのレジスタの内容が貼り付けられる」というだけのことなので、他の場所でも応用可能です。 ついでに置換する まず上の手順で検索してください。次に:%s//と入力してください。そのあとに置換したい文字を入…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.pandanoir.info%2Fentry%2F2018%2F01%2F13%2F150000&quot; title=&quot;Vimで選択した文字列を利用して検索する - Panda Noir&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>https://cdn-ak.f.st-hatena.com/images/fotolife/p/panda_noir/20180113/20180113140644.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-01-13 15:00:00</published>
  <title>Vimで選択した文字列を利用して検索する</title>
  <type>rich</type>
  <url>https://www.pandanoir.info/entry/2018/01/13/150000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
