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/helix-term
Dimitri Sabadie eb8254c4a6
Implement From<Mode> for Movement.
That allows to refactor a bit of code; we have the following pattern in many
different places:

  if cx.editor.mode == Mode::Select {
    Movement::Extend
  } else {
    Movement::Move
  }

The From impl captures that pattern, so that we can just do
cx.editor.mode.into().
2 months ago
..
src Implement From<Mode> for Movement. 2 months ago
tests Join single-line comments with J. (#11742) 2 months ago
.gitignore Initial import. 5 years ago
Cargo.toml build(deps): bump the rust-dependencies group with 4 updates (#11669) 3 months ago
build.rs chore: clean up clippy lints (#11377) 4 months ago