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
The
'>mark will be put at the end of the last visual selection