Tim Chase wrote:
>> If I'm editing a file and then press <F1>, I get the help page
>> and when I come back to my editing page, it is saved and
>> without the possibility to undo what I've already written. If
>> I press u, it says "Already at oldest change". Is there the
>> possibility to undo an editing file after I've pressed the
>> <F1> key?
>
>
> This sounds peculiar -- normally <f1> splits off the help in a
> new window. This suggests to me that you're running a
> stripped-down version of Vim ("vim.tiny" or "vim-minimal" in some
> versions). Could you include the output of
>
> :version
>
> I'm particularly interested in whether your build was created
> with "+windows".
>
> You can also test using
>
> :new
>
> to see if you get a new empty window, or if you just get an empty
> file.
>
> It would also help to see the output from
>
> :set hidden?
>
> Lastly, output from
>
> :map
>
> might show an overriding mapping that's the culprit.
I'm running a big version of vim 7.2.184 created with +windows If I do
:new I get a new window split horizontally from the original one.
set hidden? -> nohidden
I think the culprit is
C:\Programmi\Vim\vimfiles\after\ftplugin\help.vim
which contains the line
wincmd o
That's the reason why I don't get the window split when I press <F1>. Is
there the possibility that when I press <F1>, the file isn't saved or at
least have the possibility of undoing or is it better to get rid of
..\after\ftplugin\help.vim?
Many thanks in advance,
Cesar
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---