pub enum Action {
Show 13 variants
SplitPane {
direction: Direction,
},
SendKeys {
keys: String,
},
Command {
cmd: String,
},
SelectPane {
direction: Direction,
},
NextWindow,
PreviousWindow,
NewWindow,
KillPane,
KillWindow,
KillSession,
Detach,
ReloadConfig,
EnterTable {
table: KeyTableName,
},
}Expand description
Action a keybinding fires. Variants intentionally mirror tmux command names so a tmux user’s mental model carries over.
Variants§
SplitPane
Create a new pane by splitting the active pane.
SendKeys
Send keys to the active pane as if typed.
Command
Run a tear/tmux command, e.g. "new-window -n logs".
SelectPane
Switch focus to a pane by relative direction.
NextWindow
Move to the next/previous window.
PreviousWindow
NewWindow
Create a new window in the active session.
KillPane
Kill the active pane / window / session.
KillWindow
KillSession
Detach
Detach the current client.
ReloadConfig
Reload the shikumi config — operator-driven hot-reload trigger in addition to the file-watcher path.
EnterTable
Enter named key table — tmux’s modal copy-mode etc.
Fields
§
table: KeyTableNameTrait Implementations§
Source§impl<'de> Deserialize<'de> for Action
impl<'de> Deserialize<'de> for Action
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>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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