vim comment block

#for commenting:
Press ESC
:[StartNumber],[ENDNumber]s/^/#
:66,70s/^/#

for uncommenting:
Press ESC
:[StartNumber],[ENDNumber]s/^#/
:66,70s/^#/

#PS: To see line numbers:
Pres ESC
:set number

Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
vim plugin comment comment a block vim vim block comment comment a block in vim how to comment out lines vim comment.vim vi comment block vi block comment vim comment lines ocmmand vim comment a line vim comment out line command vim comment block of code comment out line in vim how to comment in vim comment a line in vim vim comment lines plugin vim automatic comment comment code in vim comment line in vim comment out vim comment vim block comment vim vim inser comment vim script comment comment block vim how to comment a line in vim vim line comment vim comment out block how to comment in a .vim file vim code comment vim commentds vim comment codes vim syntax comment character vim comment character comment lines in vim comment lines vim comment out lines in vim comment all block vim how to comment out a line in vim vim comment out comments vim commenting block of code in vim vim commenter how to come out of vim vim commenting comment block of code in vim vim commenting lines block comments in vim comment line vim comments inline vim In vim, how can I create a block comment comments in vim vim comment a block comment out line vim vim comments vim comment plugin How do you comment out lines 1023 to 2056 in vim block comment and block uncomment in vim how to select and uncomment a block in vim vim comment lines comment in vim how to uncomment multiple lines in vim how to comment multiple lines in vim vim bind comment block Vim comment block comment in vim how to comment out multiple lines in vim comment out code vim bash comment vi vim comment selection put multiline comment vi editor vim comment block code how to block comment in vim commenting in vim vim comment out blocks of code VIM comment blocks comment code vim auto comment in vim vim how to comment out all vim how to comment out vim comment line vim commen tout javascript multiline comment vim insert comment vim how to comment code in vim vim comment multiple lines vim javascript comment vim comment out code vim how to comment out code multi line command vim unix vi comment out multiple lines vim comment block
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source