22
8

More than 5 years have passed since last update.

Vim で snake_case を CamelCase に置換する

Posted at
:s/_\(.\)/\u\1/g

\u は次の文字をアッパーケースにする。
\1 は後方参照でマッチのうちの () の中身になる

22
8
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
22
8