Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The same buffer in different windows loses position #6

Open
expipiplus1 opened this issue Jun 8, 2017 · 3 comments
Open

The same buffer in different windows loses position #6

expipiplus1 opened this issue Jun 8, 2017 · 3 comments

Comments

@expipiplus1
Copy link

If I have the same file in two windows and I save in one window the other window loses its position.

To reproduce

  • vim Foo.hs
  • :split
  • :w
  • Observe that the non-active split has had its position changed to the bottom of the file

Here's it in action: https://asciinema.org/a/7ui2mgim7pmqinjb7fzqbvqdn

@expipiplus1
Copy link
Author

It's possible that this, #4 and #7 could be fixed by generating a patch and applying that, instead of replacing the buffer.

@expipiplus1
Copy link
Author

According to @krux02 here rhysd/vim-clang-format#24 autoread could be a solution.

@expipiplus1
Copy link
Author

This looks like a relevant patch for gofmt fatih/vim-go@99a1732

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant