From 6bb744aeacb56846c3bb50338e2bb81328e4e396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Fri, 30 Jul 2021 16:37:40 +0900 Subject: [PATCH] Remove the jump --- helix-term/src/ui/editor.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs index ec5687bd..7a2a07ed 100644 --- a/helix-term/src/ui/editor.rs +++ b/helix-term/src/ui/editor.rs @@ -825,8 +825,6 @@ impl Component for EditorView { if let Some((pos, id)) = result { let doc = &mut editor.documents[editor.tree.get(id).doc]; - let jump = (doc.id(), doc.selection(id).clone()); - editor.tree.get_mut(id).jumps.push(jump); if modifiers == crossterm::event::KeyModifiers::ALT { let selection = doc.selection(id).clone();