Skip to content

How to replace `pick` by `s` in the commit on `vi`

Cesar Celis Hernandez edited this page Jan 12, 2023 · 2 revisions

Links:

https://stackoverflow.com/questions/9549729/vim-insert-the-same-characters-across-multiple-lines

Steps:

  1. Ctrl + v
  2. Select all the area where pick is located:
pick
pick
pick
  • From 6:0 to 8:3
  1. click c and text will disappear
  2. Type s only first line will be modified
  3. Type Escape all lines will have s
Clone this wiki locally