gregsexton / gitv

gitk for Vim.
936 stars 59 forks source link

Open PreviewWindow if is not open #82

Closed wikimatze closed 7 years ago

wikimatze commented 10 years ago

Hi Greg,

I really love your plugin. Sometimes I want to close the preview window to see more of history. When I then press on a commit to see the changed files I get the following error:

".git/HEAD" 1 line --100%--
Error detected while processing function <SNR>79_OpenGitvCommit..<SNR>79_MoveIntoPreviewAndExecute..<SNR>79_AttemptToCreateAPreviewWindow..<SNR>79_MoveIntoPreviewAndExecute.
.<SNR>79_AttemptToCreateAPreviewWindow:
line    5:
No preview window detected.
Error detected while processing function <SNR>79_OpenGitvCommit..<SNR>79_MoveIntoPreviewAndExecute..<SNR>79_AttemptToCreateAPreviewWindow:
line    5:
No preview window detected.

Do you think this feature would make sense? If yes, I can try to implement it.

Best regards,

Matthias

gregsexton commented 10 years ago

I would be more than happy to take a pull request for this :)

rbong commented 7 years ago

This has been working for a while. Cleaning this issue up.

wikimatze commented 7 years ago

That's fine for me.