On Sun, Oct 14, 2012 at 1:54 PM, Marcin Szamotulski <mszamot@gmail.com> wrote:
> If you yanked the line then it is still in the 0 register. You can paste
> from it. Though this will be four keystrokes: V"0p
>
> If you do that often you could use a map:
>
> vnoremap P "0p
>
> and then there are only two keystrokes: VP
>
> Best,
> Marcin
>
Thank you Marcin. I don't want to create a map as I've already got
every short combination that is mappable mapped and used often!
`V"0p` would be a good solution if it were repeatable with the period
character. Is there any solution which is repeatable by the period
character? I tried `I<C-o>Vp` with the hope that the `i` would make it
repeatable, but this is not so!
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com
--
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
Sunday, October 14, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment