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

  • SEARCH
  • Home
  • 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 8441073
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T08:28:13+00:00 2026-06-10T08:28:13+00:00

I often make a visual selection in vim to shift right/left lines of code.

  • 0

I often make a visual selection in vim to shift right/left lines of code. Vim always puts me at the TOP most line after the shift. What I want is an easy way to get to the BOTTOM most line. Is there a way to do this?

For example

# before
  puts 'hello'
puts 'oops i messed up     # visual select to indent
puts 'and need to indent'  # visual select to indent
puts 'these three lines'   # visual select to indent

# after
  puts 'hello'
  puts 'oops i messed up    # cursor ends up here
  puts 'and need to indent'
  puts 'these three lines'  # but i want it here
  • 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-06-10T08:28:14+00:00Added an answer on June 10, 2026 at 8:28 am
    `>
    

    The '> mark will be put at the end of the last visual selection

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

Sidebar

Related Questions

When I hit Compile Project (SHIFT+F6) in Visual Studio 2008, Visual Studio always seems
One often reads how it's worth designing your code to avoid needing to make
Our developers frequently work in large Visual Studio projects and we often run command-line
I often make mistakes in making aliases: ln -S $Personal/Books $Buy/Books (1) Instead, I
When I used to use IIS 6 (or so) I'd often make a virtual
I often hear complaints that programming languages that make heavy use of symbols for
We make use of views and panels quite often in Drupal and a lot
Is it posible to make logging to the console synchronous? I often run into
Often times I write some SQL like this: string sql = @ -- Multi-line
Often when browsing in Firefox, I'll right click on a link, and open it

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.