> Position the cursor at the beginning of the text you want to cut/copy. Press Esc to make sure Vim/Vi is in normal mode.įind each occurrence of 'Search_Word' (in the current line only), and replace it with 'Replace_Word'.įind each occurrence of 'Search_Word' (in all lines), and replace it with 'Replace_Word'.Ĭhange each 'Search_Word' to 'Replace_Word', but ask for confirmation first.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |