summaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-07-30 07:37:40 +0000
committerBlaž Hrastnik2021-07-30 07:52:10 +0000
commit6bb744aeacb56846c3bb50338e2bb81328e4e396 (patch)
tree915afdfbe9540a6a84c3234c28f3bfca51e38a38 /helix-term
parent8361de45dc20e428c538f784898e6c47646b6e8d (diff)
Remove the jump
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/ui/editor.rs2
1 files changed, 0 insertions, 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();