On Jan 10, 6:59 pm, "Jeffrey 'jf' Lim" <[email protected]> wrote:
> hi, I'm having trouble (is it possible?) trying to figure a way of repeating
> a "shift" for a line quickly....
> The only key combination I've found that works (although not as efficient as
> I would like) is '>l', and then '5.' to repeat. Is there anything better
> than this?
Surely
>>....
is quite easy.
> I would have expected '5>>' to just do the shift 5 times _for the *current*
> line_
Well, I can't agree:
- 5dd delete 5 lines, 5>> shift 5 lines... doubling the operator
means "lines" in vi and vim
- 5>> followed by . however many times is just so useful for block
structured code.
Regards, John
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php