On 12 Mar, Broun, Bevan wrote:
>  > 1.  the default no name buffer 
>   
>  :'a,'by 

'ay'b
would be shorter; no need to hop into line mode.  Though it repositions
you at 'a first, and maybe you don't want to do that.
 
>  I didnt know it myself, ":h y" and ":h range" in vim gets the answer. 
>   
>  > 2.  a named buffer 
>   
>  left as an exercise. 

'a"xy'b

to yank into buffer x.

See, almost all commands (like d[elete], y[ank]] >>[right shift] etc.),
take a "motion" afterwards.  Like y3j or d3w or >>}.  And almost all
take a repeat count as a prefix, like 3J (join 3 lines).

luke

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to