From 13800e4dd152b018b5242de9fbdd470b23bd9c4a Mon Sep 17 00:00:00 2001 From: Jan Hrastnik Date: Thu, 1 Oct 2020 01:23:06 +0200 Subject: [PATCH] removed redundant line --- helix-term/src/editor.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/helix-term/src/editor.rs b/helix-term/src/editor.rs index 767ed7a1b..2cc210f49 100644 --- a/helix-term/src/editor.rs +++ b/helix-term/src/editor.rs @@ -325,9 +325,6 @@ impl Editor { if let Some(command) = keymap[&Mode::Insert].get(&keys) { // TODO: handle count other than 1 command(view, 1); - - // TODO: simplistic ensure cursor in view for now - view.ensure_cursor_in_view(); } else { if let KeyEvent { code: KeyCode::Char(c),