You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix-plus/helix-term/src
Matouš Dzivjak 52f5a4228a
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
2 years ago
..
commands Fix paste direction for typed paste commands (#2288) 2 years ago
keymap Rename paragraph motion commands from move to goto (#2226) 2 years ago
ui allow whitespace to be rendered 2 years ago
application.rs allow whitespace to be rendered 2 years ago
args.rs Add refresh-config and open-config command (#1803) 2 years ago
commands.rs feat(commands): better handling of buffer-close (#1397) 2 years ago
compositor.rs Make regex_prompt directly call cx.push_layer 2 years ago
config.rs Move top level lsp config to editor.lsp (#1868) 2 years ago
health.rs Add true or false checkbox in health output table (#1947) 2 years ago
job.rs Don't use block_on in jobs.finish(), we can .await 2 years ago
keymap.rs Add refresh-config and open-config command (#1803) 2 years ago
lib.rs Add refresh-config and open-config command (#1803) 2 years ago
main.rs Add support for local language configuration (#1249) 2 years ago