In vim when I want to indent a section of code, I typically enter Visual mode and then use <
or >
to change the indentation. After doing that, vim puts me on the first line of the code that I indented.
Often the next thing I want to do is add code to the end. How do I quickly jump to the end so I can hit o
and start adding more code?
I know I can type gv[esc]
or gvo[esc]
(depending on whether I had started my block from the beginning or the end) but I'm hoping for something more vim-like (i.e. not so many keystrokes).