ZIm/crates/vim/src
Danilo Leal a2a3d1a4bd
editor: Refactor EditorMode::Full (#28546)
This PR lightly refactors the `EditorMode::Full` exposing two new
methods: `is_full` and `set_mode`.

Motivation is to expose fields that modify the behavior when the editor
is in `Full` mode. By using is `mode.is_full()` instead of
`EditorMode::Full` we can introduce new fields without breaking other
places in the code.

Release Notes:

- N/A

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
2025-04-10 23:22:27 +00:00
..
digraph Add Vim digraphs (#14887) 2024-07-28 22:44:32 -06:00
normal vim: Reset search range after substitute (#28403) 2025-04-09 20:43:53 -06:00
test chore: Bump Rust version to 1.86 (#28021) 2025-04-03 23:32:50 +02:00
change_list.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
command.rs vim: Add :Git (#27874) 2025-04-01 15:12:36 -06:00
digraph.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
helix.rs Temporarily disable helix tests (#28279) 2025-04-07 21:50:35 +00:00
indent.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
insert.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
mode_indicator.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
motion.rs vim: Add indent-wise motions (#28044) 2025-04-08 09:07:37 -06:00
normal.rs Flesh out helix bindings (#28103) 2025-04-04 12:21:15 -06:00
object.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
replace.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
rewrap.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
state.rs vim: Add g? convert to Rot13/Rot47 (#27824) 2025-04-02 02:17:00 +00:00
surrounds.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
test.rs editor: Refactor EditorMode::Full (#28546) 2025-04-10 23:22:27 +00:00
vim.rs editor: Refactor EditorMode::Full (#28546) 2025-04-10 23:22:27 +00:00
visual.rs Fix vim test keystroke (#28406) 2025-04-09 14:29:03 -06:00