Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 289463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:54:33+00:00 2026-05-12T05:54:33+00:00

I want to know how to do some operations on highlighted lines (with v

  • 0

I want to know how to do some operations on highlighted lines (with v operator) like providing tab to selected line, comment those line, etc. using vi/vim.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T05:54:33+00:00Added an answer on May 12, 2026 at 5:54 am

    Most standard operations that require a motion also work in visual mode, so if you select something in one of the visual modes (v, shift-v or ctrl-v), you can indent a line with the > key, comment those lines by pressing :s@^@# @ (which will show :'<,'>s@^@# @ on the command line as the visual range is entered automatically).

    Another way of commenting out blocks is to select them with the column visual select (ctrl-v) and press I to insert at the start of the line.

    :help v_>
    :help visual-start
    :help :s
    :help I
    

    There are also a couple of plugins here and here that help with commenting. If you want any more specific information, please can you make your question a bit more detailed as it’s difficult to tell what you really want at the moment.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a treeView , and i want to know if some node can
I'm a total newbie and want to start with php. I know some javascript
I want to know if Netbeans has some option or setting that will allow
I want to know how to add some sort of emblem or badge to
I want to know what are the options to do some scripting jobs in
I've got some questions regarding Java design patterns. I want to know what the
I'm serving up some files via an HTTPModule in asp.net. I want to know
I want to do some sophisticated animations. But I only know how to animate
i want to run some command on several machine using ssh. I know it
I already know Java, Objective C, C#, and some Python. I want to be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.