[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 15:57:12 EDT 2006
Noel,
On 03/09/06, Noel Henson <noel at noels-lab.com> wrote:
> Peter,
>
> What is your hoistParanoia flag set to? If you set it to 0, you shouldn't
> have a problem with needing to delete you files.
>
> Also, you can edit the function MakeTempFilename in vo_hoist.vim from this:
> return "vo_hoist.".a:line.strftime(".%Y%m%d%H%M%S").".otl"
> to this:
> return "\TEMP\vo_hoist.".a:line.strftime(".%Y%m%d%H%M%S").".otl"
>
> and give that a try.
>
> Let me know how it works for you.
>
> Noel
>
>
my hoistParanoia is left at default, so it's set to 0. Still, the
files are there, as many files as much times I hoist. Note, I never
exit from the main outline file till the end of the working day. :)
I applied the patch on the file name generation, and it doesn't seem
to work: the files are still generated on the Desktop, only their name
starts with TEMP, even if I modify the prefix to:
- return "%TEMP%\vo_hoist.".a:line.strftime(".%Y%m%d%H%M%S").".otl
or
- return "$TEMP\vo_hoist.".a:line.strftime(".%Y%m%d%H%M%S").".otl
which would be the Windows and vim way of referring to env vars. :o
Moreover, exit from the hoist file in these two cases bails out to the
OS, not back to the original outline file, so I'm restoring it back.
:o
Have a nice day,
Peter
--
Keep cool. Develop in total darkness.
More information about the VimOutliner
mailing list