home.social

#vimeditor — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #vimeditor, aggregated by home.social.

  1. I am not sure how I missed this simple way to comment multiple lines in VIM for so long.

    Just enter the following in the command mode (assuming # is the comment character):
    :[startline],[endline]s/^/#

    For example:
    :10,20s/^/#

    #Vim #CommandLine #Linux #VimEditor