pub struct ToggleVisualBlock;Expand description
Toggle to block-wise visual mode (Ctrl-V in visual mode).
If already in block mode, exit to normal mode. Otherwise, switch to block selection.
Trait Implementations§
Source§impl Clone for ToggleVisualBlock
impl Clone for ToggleVisualBlock
Source§fn clone(&self) -> ToggleVisualBlock
fn clone(&self) -> ToggleVisualBlock
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Command for ToggleVisualBlock
impl Command for ToggleVisualBlock
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
Get a human-readable description of what this command does.
Source§fn complete(&self, _partial: &str) -> Vec<String>
fn complete(&self, _partial: &str) -> Vec<String>
Get tab-completion candidates for this command’s arguments. Read more
Source§fn priority(&self) -> CommandPriority
fn priority(&self) -> CommandPriority
Registration priority (#545). Read more
Source§impl CommandHandler for ToggleVisualBlock
impl CommandHandler for ToggleVisualBlock
Source§fn execute(
&self,
runtime: &mut SessionRuntime<'_>,
_args: &CommandContext,
) -> CommandResult
fn execute( &self, runtime: &mut SessionRuntime<'_>, _args: &CommandContext, ) -> CommandResult
Execute the command. Read more
Source§impl Debug for ToggleVisualBlock
impl Debug for ToggleVisualBlock
Source§impl Default for ToggleVisualBlock
impl Default for ToggleVisualBlock
Source§fn default() -> ToggleVisualBlock
fn default() -> ToggleVisualBlock
Returns the “default value” for a type. Read more
impl Copy for ToggleVisualBlock
Auto Trait Implementations§
impl Freeze for ToggleVisualBlock
impl RefUnwindSafe for ToggleVisualBlock
impl Send for ToggleVisualBlock
impl Sync for ToggleVisualBlock
impl Unpin for ToggleVisualBlock
impl UnsafeUnpin for ToggleVisualBlock
impl UnwindSafe for ToggleVisualBlock
Blanket Implementations§
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
Mutably borrows from an owned value. Read more