helix/helix-view/src
Hendrik Wolff 265608a3d8
Auto Save All Buffers After A Delay (#10899)
* auto save after delay

* configable

* clearer names

* init

* working with some odd behaviour

* working with greater consistency

* Apply reviewer suggestions

- Remove unneccessary field
- Remove blocking save

* Improve auto-save configuration

Auto save can be configured to trigger on focus loss:
```toml
auto-save.focus-lost = true|false
```

and after a time delay (in milli seconds) since last keypress:
```toml
auto-save.after-delay.enable = true|false
auto-save.after-delay.timeout = [0, u64::MAX] # default: 3000
```

* Remove boilerplate and unnecessary types

* Remove more useless types

* Update docs for auto-save.after-delay

* Fix wording of (doc) comments relating to auto-save

* book: Move auto-save descriptions to separate section

---------

Co-authored-by: Miguel Perez <miguelvojito@gmail.com>
Co-authored-by: Miguel Perez <perezoji@cs.fsu.edu>
2024-06-11 00:39:06 +02:00
..
handlers Remove unwrap on line option, preventing DAP crash (#9632) 2024-02-16 15:43:14 +01:00
base64.rs Fix new clippy lints (#5892) 2023-02-09 16:27:08 -06:00
clipboard.rs FIx incorrectly spelled cfg options (#10703) 2024-05-07 18:14:02 +02:00
document.rs Handle relative symlinks on write (#10790) 2024-05-21 06:46:24 +09:00
editor.rs Auto Save All Buffers After A Delay (#10899) 2024-06-11 00:39:06 +02:00
events.rs Add hook/event system 2024-01-23 11:20:19 +09:00
graphics.rs tui: Constify functions, shrink Margin representation 2024-05-21 04:34:36 +09:00
gutter.rs use newtype parttern for langauge server id 2024-04-22 12:27:47 +09:00
handlers.rs Auto Save All Buffers After A Delay (#10899) 2024-06-11 00:39:06 +02:00
info.rs Use refactored Registers type 2023-07-31 15:05:38 +09:00
input.rs Normalize `S-<lower-ascii>` keymaps to uppercase ascii (#9213) 2024-01-09 10:04:34 +09:00
keyboard.rs build(deps): bump bitflags from 1.3.2 to 2.0.2 (#6387) 2023-03-22 08:12:08 +08:00
lib.rs Re-export `which` from `helix-stdx::env` 2024-01-24 15:47:49 +09:00
macros.rs Apply transactions to all views (#4733) 2022-11-23 12:28:49 +09:00
register.rs `cargo fmt` 2024-05-07 15:15:52 -04:00
theme.rs Add tree-sitter-highlight-name command (#8170) 2023-09-10 14:57:44 +02:00
tree.rs Resolve new Clippy lints 2024-05-07 15:15:52 -04:00
view.rs show newest options in jumplist picker first, fix docs (#10095) 2024-04-02 16:39:44 +02:00