Showing posts with label Vim. Show all posts
Showing posts with label Vim. Show all posts

Sunday, November 14, 2021

Linux: Delete Multiple Lines in VIM and Search for String in VIM

https://linuxize.com/post/vim-delete-line/

  • Press the Esc key to go to normal mode.
  • Place the cursor on the first line you want to delete.
  • Type 5dd and hit Enter to delete the next five lines.
----------------------------------------------------------------


The basic steps to perform a search in Vim are as follows:

  • Press /.
  • Type the search pattern.
  • Press Enter to perform the search.
  • Press n to find the next occurrence or N to find the previous occurrence.

Thursday, January 21, 2021

Find a Word in VI editor

https://ccm.net/faq/982-finding-a-word-in-vi-vim



To find a word in Vi/Vim, simply type the / or ? key, followed by the word you're searching for.

Once found, you can press the n key to go directly to the next occurrence of the word.

Vi/Vim also allows you to launch a search on the word over which your cursor is positioned. To do this, place the cursor over the term, and then press * or # to look it up.

Azure - Pipeline - Add Approver for Stage

https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass