# How to use the one-eye kirby in vim This is the easiest way to manipulate multiple lines of text with vim motions. ## Example Say you have this in your .env ``` LOG_CHANNEL=stack LOG_STACK=single LOG_DEPRECATIONS_CHANNEL=null LOG_LEVEL=debug ``` And you want to turn it into ``` APP_LOG_CHANNEL=stack APP_LOG_STACK=single APP_LOG_DEPRECATIONS_CHANNEL=null APP_LOG_LEVEL=debug ``` 1. Select the lines you want to manipulate 2. Run `:s/(.*)=` (you might have to \ escape the ( depending on your editor) 3. Now everything before the `=` is your *capturing group* 1. You can have as many capture groups as you want. 4. Now as part of the same expression you can do `APP_\1=` 5. Final expression is `:s/(.*)=/APP_\1=`