diff options
author | Matouš Dzivjak | 2022-04-27 16:14:46 +0000 |
---|---|---|
committer | GitHub | 2022-04-27 16:14:46 +0000 |
commit | 52f5a4228aef2d31cf20aeee2bed317ba1767c18 (patch) | |
tree | ec3fa81c5749ad512bfa64f2ae1f3770e6fe03d9 /helix-tui | |
parent | a3c0b4db48bb286a9b59a3fb1089607f6f29388c (diff) |
feat(commands): better handling of buffer-close (#1397)
* 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: https://github.com/helix-editor/helix/issues/1186
* Adjust buffer close behavior
* Remove closed documents from jump history
* Fix after rebase
Diffstat (limited to 'helix-tui')
0 files changed, 0 insertions, 0 deletions