aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/editor.rs
diff options
context:
space:
mode:
authorJan Hrastnik2020-09-30 23:23:06 +0000
committerJan Hrastnik2020-09-30 23:23:06 +0000
commit13800e4dd152b018b5242de9fbdd470b23bd9c4a (patch)
treea6e1ef47c23453503d2728452b16050ae649f440 /helix-term/src/editor.rs
parentdd94a3981067a11c3d42caef32e3d9c93e1ec357 (diff)
removed redundant line
Diffstat (limited to 'helix-term/src/editor.rs')
-rw-r--r--helix-term/src/editor.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/helix-term/src/editor.rs b/helix-term/src/editor.rs
index 767ed7a1..2cc210f4 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),