on master help sign in
remove unused import
commit8681d472928ff3d91508e11deda19b16c4694446 authorJan Hrastnik <jan.hrastnik2@gmail.com> dateWed 24 Jun 2020, 21:03 (6 years ago) parent6ba0826
3 files changed+3−6
editor.rs helix-term/src/editor.rs+3−5 helix-term/src/keymap.rs−1
editor.rsnew file

No changes to the content.

helix-term/src/editor.rs+3−5
@@ -1,3 +1,5 @@
1+use crate::{keymap, Args};
2+use anyhow::Error;
13use crossterm::{
24 cursor,
35 cursor::position,
@@ -7,15 +9,11 @@ use crossterm::{
79 terminal::{self, disable_raw_mode, enable_raw_mode},
810};
911use futures::{future::FutureExt, select, StreamExt};
12+use helix_core::{state::coords_at_pos, Buffer, State};
1013use std::io::{self, stdout, Write};
1114use std::path::PathBuf;
1215use std::time::Duration;
1316
14−use anyhow::Error;
15−
16−use crate::{keymap, Args};
17−use helix_core::{state::coords_at_pos, Buffer, State};
18−
1917pub struct BufferComponent<'a> {
2018 x: u16,
2119 y: u16,
helix-term/src/keymap.rs−1
@@ -5,7 +5,6 @@ use crossterm::{
55};
66use helix_core::commands::{self, Command};
77use std::collections::HashMap;
8−use std::io::{stdout, Write};
98
109// Kakoune-inspired:
1110// mode = {