|
|
@ -13,7 +13,7 @@ use helix_core::{
|
|
|
|
|
|
|
|
|
|
|
|
use helix_view::{
|
|
|
|
use helix_view::{
|
|
|
|
clipboard::ClipboardType,
|
|
|
|
clipboard::ClipboardType,
|
|
|
|
document::Mode,
|
|
|
|
document::{Mode, SCRATCH_BUFFER_NAME},
|
|
|
|
editor::{Action, Motion},
|
|
|
|
editor::{Action, Motion},
|
|
|
|
input::KeyEvent,
|
|
|
|
input::KeyEvent,
|
|
|
|
keyboard::KeyCode,
|
|
|
|
keyboard::KeyCode,
|
|
|
@ -53,8 +53,6 @@ use grep_searcher::{sinks, BinaryDetection, SearcherBuilder};
|
|
|
|
use ignore::{DirEntry, WalkBuilder, WalkState};
|
|
|
|
use ignore::{DirEntry, WalkBuilder, WalkState};
|
|
|
|
use tokio_stream::wrappers::UnboundedReceiverStream;
|
|
|
|
use tokio_stream::wrappers::UnboundedReceiverStream;
|
|
|
|
|
|
|
|
|
|
|
|
pub const SCRATCH_BUFFER_NAME: &str = "[scratch]";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pub struct Context<'a> {
|
|
|
|
pub struct Context<'a> {
|
|
|
|
pub register: Option<char>,
|
|
|
|
pub register: Option<char>,
|
|
|
|
pub count: Option<NonZeroUsize>,
|
|
|
|
pub count: Option<NonZeroUsize>,
|
|
|
|