How to comment uncomment lines in vim?
< 1 min readTo comment out one or more lines in Vim, you can use the : command followed by the s command and a search pattern. For example, to comment out all lines that contain the word “hello”, you can use the following command: This will replace every occurrence of the word “hello” with # hello. To…
