pub struct TuiVimOperatorKeymap {Show 14 fields
pub delete_line: Option<KeybindingsSpec>,
pub yank_line: Option<KeybindingsSpec>,
pub motion_left: Option<KeybindingsSpec>,
pub motion_right: Option<KeybindingsSpec>,
pub motion_up: Option<KeybindingsSpec>,
pub motion_down: Option<KeybindingsSpec>,
pub motion_word_forward: Option<KeybindingsSpec>,
pub motion_word_backward: Option<KeybindingsSpec>,
pub motion_word_end: Option<KeybindingsSpec>,
pub motion_line_start: Option<KeybindingsSpec>,
pub motion_line_end: Option<KeybindingsSpec>,
pub select_inner_text_object: Option<KeybindingsSpec>,
pub select_around_text_object: Option<KeybindingsSpec>,
pub cancel: Option<KeybindingsSpec>,
}Expand description
Vim operator-pending keybindings for modal editing inside text areas.
This context is active only while waiting for a motion after d or y.
Repeating the operator key (dd, yy) targets the entire line. Pressing
Esc cancels the pending operator and returns to normal mode without
modifying text.
Fields§
§delete_line: Option<KeybindingsSpec>Repeat delete operator to delete the whole line (dd).
yank_line: Option<KeybindingsSpec>Repeat yank operator to yank the whole line (yy).
motion_left: Option<KeybindingsSpec>Motion: left (h).
motion_right: Option<KeybindingsSpec>Motion: right (l).
motion_up: Option<KeybindingsSpec>Motion: up one line (k).
motion_down: Option<KeybindingsSpec>Motion: down one line (j).
motion_word_forward: Option<KeybindingsSpec>Motion: to start of next word (w).
motion_word_backward: Option<KeybindingsSpec>Motion: to start of previous word (b).
motion_word_end: Option<KeybindingsSpec>Motion: to end of current/next word (e).
motion_line_start: Option<KeybindingsSpec>Motion: to start of line (0).
motion_line_end: Option<KeybindingsSpec>Motion: to end of line ($).
select_inner_text_object: Option<KeybindingsSpec>Select an inner text object after an operator.
select_around_text_object: Option<KeybindingsSpec>Select an around text object after an operator.
cancel: Option<KeybindingsSpec>Cancel the pending operator and return to normal mode.
Trait Implementations§
Source§impl Clone for TuiVimOperatorKeymap
impl Clone for TuiVimOperatorKeymap
Source§fn clone(&self) -> TuiVimOperatorKeymap
fn clone(&self) -> TuiVimOperatorKeymap
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TuiVimOperatorKeymap
impl Debug for TuiVimOperatorKeymap
Source§impl Default for TuiVimOperatorKeymap
impl Default for TuiVimOperatorKeymap
Source§fn default() -> TuiVimOperatorKeymap
fn default() -> TuiVimOperatorKeymap
Source§impl<'de> Deserialize<'de> for TuiVimOperatorKeymap
impl<'de> Deserialize<'de> for TuiVimOperatorKeymap
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for TuiVimOperatorKeymap
Source§impl JsonSchema for TuiVimOperatorKeymap
impl JsonSchema for TuiVimOperatorKeymap
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreSource§impl PartialEq for TuiVimOperatorKeymap
impl PartialEq for TuiVimOperatorKeymap
Source§impl Serialize for TuiVimOperatorKeymap
impl Serialize for TuiVimOperatorKeymap
impl StructuralPartialEq for TuiVimOperatorKeymap
Auto Trait Implementations§
impl Freeze for TuiVimOperatorKeymap
impl RefUnwindSafe for TuiVimOperatorKeymap
impl Send for TuiVimOperatorKeymap
impl Sync for TuiVimOperatorKeymap
impl Unpin for TuiVimOperatorKeymap
impl UnsafeUnpin for TuiVimOperatorKeymap
impl UnwindSafe for TuiVimOperatorKeymap
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<T> AsTypeStaticRegistered for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
impl<T> HasTyVTable for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request