rotation

2007-03-07 Thread fREW
Does anyone know if there are any builtin commands to rotate the current line about a character or word? Example: rotate about the j and just respectively 'This is just a test ' becomes 'ust a testj This is' 'This is just a test' becomes 'a test just This is' I know it would be pretty easy to

Re: rotation

2007-03-07 Thread A.J.Mechelynck
fREW wrote: Does anyone know if there are any builtin commands to rotate the current line about a character or word? Example: rotate about the j and just respectively 'This is just a test ' becomes 'ust a testj This is' 'This is just a test' becomes 'a test just This is' I know it would be

Re: rotation

2007-03-07 Thread Tim Chase
Does anyone know if there are any builtin commands to rotate the current line about a character or word? I know it would be pretty easy to do these with macros, but I thought there might be some builtin or something. There's nothing built-in, but you can map something of the like: rotate

Re: rotation

2007-03-07 Thread fREW
Cool! Thanks Tim and A.J. And yeah, sorry about the typo with 'ust a test jThis is ', I meant to include that space. And I use Vim7 so I can use any extensions that may have been added then. Thanks again! -fREW On 3/7/07, Tim Chase [EMAIL PROTECTED] wrote: Does anyone know if there are