@@ -307,21 +307,6 @@ pub fn append_mode(view: &mut View, _count: usize) {
307307 })
308308}
309309
310−pub fn command_mode(_view: &mut View, _count: usize) {
311− use crate::Editor;
312−
313− let prompt = Prompt::new(
314− ":".to_owned(),
315− |_input: &str| None, // completion
316− |editor: &mut Editor, input: &str| match input {
317− "q" => editor.should_close = true,
318− _ => (),
319− },
320− );
321−
322− // set_prompt(prompt)
323−}
324−
325310// TODO: I, A, o and O can share a lot of the primitives.
326311
327312// calculate line numbers for each selection range