10
11

More than 5 years have passed since last update.

Vimのf{char}検索を繰り返す

Last updated at Posted at 2014-04-07

以下のようなテキストがあるとします。

hello my name is shoma2da

行頭にカーソルを合わせてfm(fを入力した後にm)と入力してみましょう。
mymにカーソルが合うはずです。

このとき、次のmにカーソルを合わせるには;を押してください。
;は直前の検索を繰り返すコマンドです。

また、逆方向の検索をしたいときは,です。

どちらもかなり便利です。覚えておきましょう。

10
11
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
11