[Vimoutliner] Obvious but don't get it: how do I move outline at N+1 to N

Peter Princz princzp at gmail.com
Sun Sep 3 10:41:39 EDT 2006


Noel,

On 03/09/06, Noel Henson <noel at noels-lab.com> wrote:
> I think I can fix this. How about ,,p to place the 'y'anked lines as
> children and ,,P to place them as siblings (ie. at the current level)?
>
> Does that sound cogent?
>
> Noel
>
> On Saturday 02 September 2006 16:03, GARY FURASH wrote:
> > When I yank or delete a collapsed outline at level N (e.g., 5), and then
> > move it elsewhere with a paste, I end up with that outline pasted at
> > level N, not the current cursor position (e.g., I might want to make it
> > a child of say a level 2 outline, so it should now be 3.).  Is there a
> > better/easier way to do this?
> >
> >

that would be nothing but great! What I wrote, is a workaround only,
but this would be The Solution. :)

However, the ,,p/,,P mapping pair would contradict to the p/P (and a
lot of others) mapping pair, i.e. putting after/before the cursor.
I'd either put it *always* as a sibling after (,,p) or before (,,P)
the element the cursor is on. Yes, then an extra indent would be
needed in some cases, when you want it as a child and not a sibling,
but at least it would be consistent with other vi mappings... :o

Have a nice day,
  Peter

-- 
Keep cool. Develop in total darkness.


More information about the VimOutliner mailing list