From 8681d472928ff3d91508e11deda19b16c4694446 Mon Sep 17 00:00:00 2001 From: Jan Hrastnik Date: Wed, 24 Jun 2020 21:03:38 +0200 Subject: remove unused import --- editor.rs | 0 helix-term/src/editor.rs | 8 +++----- helix-term/src/keymap.rs | 1 - 3 files changed, 3 insertions(+), 6 deletions(-) create mode 100644 editor.rs diff --git a/editor.rs b/editor.rs new file mode 100644 index 00000000..e69de29b diff --git a/helix-term/src/editor.rs b/helix-term/src/editor.rs index 7b3e215a..889eaa4c 100644 --- a/helix-term/src/editor.rs +++ b/helix-term/src/editor.rs @@ -1,3 +1,5 @@ +use crate::{keymap, Args}; +use anyhow::Error; use crossterm::{ cursor, cursor::position, @@ -7,15 +9,11 @@ use crossterm::{ terminal::{self, disable_raw_mode, enable_raw_mode}, }; use futures::{future::FutureExt, select, StreamExt}; +use helix_core::{state::coords_at_pos, Buffer, State}; use std::io::{self, stdout, Write}; use std::path::PathBuf; use std::time::Duration; -use anyhow::Error; - -use crate::{keymap, Args}; -use helix_core::{state::coords_at_pos, Buffer, State}; - pub struct BufferComponent<'a> { x: u16, y: u16, diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs index 44f4fc95..c7da0c89 100644 --- a/helix-term/src/keymap.rs +++ b/helix-term/src/keymap.rs @@ -5,7 +5,6 @@ use crossterm::{ }; use helix_core::commands::{self, Command}; use std::collections::HashMap; -use std::io::{stdout, Write}; // Kakoune-inspired: // mode = { -- cgit v1.2.3-70-g09d2