diff --git a/src/app/mode.rs b/src/app/mode.rs index 311e097..ab35865 100644 --- a/src/app/mode.rs +++ b/src/app/mode.rs @@ -110,6 +110,12 @@ impl Mode { } Mode::Chord(chord) => { chord.add_char(key); + + if chord.buf[0] == ':' { + app.mode = Mode::Command(Chord::new(':')); + return; + } + match chord.as_string()[0..chord.as_string().len() - 1].parse::() { // For chords that can take a numeric input Ok(num) => match key {