@@ -307,21 +307,6 @@ pub fn append_mode(view: &mut View, _count: usize) {
310−pub fn command_mode(_view: &mut View, _count: usize) {
313− let prompt = Prompt::new(
315− |_input: &str| None, // completion
316− |editor: &mut Editor, input: &str| match input {
317− "q" => editor.should_close = true,
322− // set_prompt(prompt)
325// TODO: I, A, o and O can share a lot of the primitives.
310// TODO: I, A, o and O can share a lot of the primitives.
327// calculate line numbers for each selection range
312// calculate line numbers for each selection range