on master help sign in
removed redundant line
commit13800e4dd152b018b5242de9fbdd470b23bd9c4a authorJan Hrastnik <jan.hrastnik2@gmail.com> dateThu 1 Oct 2020, 01:23 (6 years ago) parentdd94a39
1 file changed−3
helix-term/src/editor.rs−3
helix-term/src/editor.rs−3
@@ -325,9 +325,6 @@ impl Editor {
325325 if let Some(command) = keymap[&Mode::Insert].get(&keys) {
326326 // TODO: handle count other than 1
327327 command(view, 1);
328−
329− // TODO: simplistic ensure cursor in view for now
330− view.ensure_cursor_in_view();
331328 } else {
332329 if let KeyEvent {
333330 code: KeyCode::Char(c),