I've been giving Helix editor a go as well and it's definitely worth a look. It's hard to break my Vim habits though.
I've been giving Helix editor a go as well and it's definitely worth a look. It's hard to break my Vim habits though.
I like your `(1..=3).contains()` and I might steal it. One small difference is I used `.is_sorted()` and `.rev().is_sorted()` to check ascending and descending.
I like your `(1..=3).contains()` and I might steal it. One small difference is I used `.is_sorted()` and `.rev().is_sorted()` to check ascending and descending.