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

feat(commands): better handling of buffer-close #1397

Merged
merged 4 commits into from
Apr 27, 2022
Merged

feat(commands): better handling of buffer-close #1397

merged 4 commits into from
Apr 27, 2022

Commits on Apr 21, 2022

  1. feat(commands): better handling of buffer-close

    Previously, when closing buffer, you would loose cursor position in other docs.
    Also, all splits where the buffer was open would be closed.
    
    This PR changes the behavior, if the view has also other buffer
    previously viewed it switches back to the last one instead of the view
    being closed. As a side effect, since the views are persisted,
     the cursor history is persisted as well.
    
    Fixes: #1186
    matoous committed Apr 21, 2022
    Configuration menu
    Copy the full SHA
    7548cac View commit details
    Browse the repository at this point in the history
  2. Adjust buffer close behavior

    matoous committed Apr 21, 2022
    Configuration menu
    Copy the full SHA
    dc3e953 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8a6f36e View commit details
    Browse the repository at this point in the history
  4. Fix after rebase

    matoous committed Apr 21, 2022
    Configuration menu
    Copy the full SHA
    b2b8499 View commit details
    Browse the repository at this point in the history