<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gsf_zero1</author_name>
  <author_url>https://blog.hatena.ne.jp/gsf_zero1/</author_url>
  <blog_title>いろいろ備忘録日記</blog_title>
  <blog_url>https://devlights.hatenablog.com/</blog_url>
  <categories>
    <anon>vim</anon>
  </categories>
  <description>概要 参照情報 概要 よく忘れるので、ここにメモメモ。知ってるとちょっと便利です。 vimで、コマンドを実行することは多いと思いますが、今カーソルがあるところの文字列を、コマンドの引数とかにしたい場合が結構あります。grep (vimgrep) したりするときとか。 そういうときは、コマンドモードの状態で、Ctrl+r, Ctrl+w って押すとカーソル下の単語が挿入されます。 たとえば、探したい定数とかの上にカーソル持っていっておいて :vimgrep / ここで、Ctrl+r, Ctrl+W すると :vimgrep /NANIKA_NO_ATAI って感じで挿入されます。 参照情報 vi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevlights.hatenablog.com%2Fentry%2F2021%2F01%2F18%2F220042&quot; title=&quot;vimでカーソル位置の単語をコマンド行に挿入 - いろいろ備忘録日記&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>2021-01-18 22:00:42</published>
  <title>vimでカーソル位置の単語をコマンド行に挿入</title>
  <type>rich</type>
  <url>https://devlights.hatenablog.com/entry/2021/01/18/220042</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
