on master help sign in
removed redundant line
13800e4Jan Hrastnik
helix-term/src/editor.rs−3
@@ -325,9 +325,6 @@ impl Editor {
325 if let Some(command) = keymap[&Mode::Insert].get(&keys) {
325 if let Some(command) = keymap[&Mode::Insert].get(&keys) {
326 // TODO: handle count other than 1
326 // TODO: handle count other than 1
327 command(view, 1);
327 command(view, 1);
328−
329− // TODO: simplistic ensure cursor in view for now
330− view.ensure_cursor_in_view();
331 } else {
328 } else {
332 if let KeyEvent {
329 if let KeyEvent {
333 code: KeyCode::Char(c),
330 code: KeyCode::Char(c),