pub struct EnterWindowMode;Expand description
Enter window management mode (Ctrl-W in normal mode).
This pushes “window” mode onto the mode stack. In window mode, subsequent keys (h/j/k/l for navigation, s/v for splits, etc.) are handled by the layout module’s keybindings.
Trait Implementations§
Source§impl Clone for EnterWindowMode
impl Clone for EnterWindowMode
Source§fn clone(&self) -> EnterWindowMode
fn clone(&self) -> EnterWindowMode
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 EnterWindowMode
impl Command for EnterWindowMode
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 EnterWindowMode
impl CommandHandler for EnterWindowMode
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 EnterWindowMode
impl Debug for EnterWindowMode
Source§impl Default for EnterWindowMode
impl Default for EnterWindowMode
Source§fn default() -> EnterWindowMode
fn default() -> EnterWindowMode
Returns the “default value” for a type. Read more
impl Copy for EnterWindowMode
Auto Trait Implementations§
impl Freeze for EnterWindowMode
impl RefUnwindSafe for EnterWindowMode
impl Send for EnterWindowMode
impl Sync for EnterWindowMode
impl Unpin for EnterWindowMode
impl UnsafeUnpin for EnterWindowMode
impl UnwindSafe for EnterWindowMode
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