Struct iota::StandardMode
[−]
[src]
pub struct StandardMode { /* fields omitted */ }
Standard mode is Iota's default mode.
Standard mode uses non-vi-like keybindings. Unlike Normal, Command and Visual modes which are all used together, Standard mode is used on its own.
Standard mode allows Iota to be used in a non-modal way, similar to mainstream editors like emacs or sublime.
Methods
impl StandardMode
[src]
fn new() -> StandardMode
Create a new instance of StandardMode
Trait Implementations
impl Mode for StandardMode
[src]
fn handle_key_event(&mut self, key: Key) -> BuilderEvent
Given a key, pass it through the StandardMode KeyMap and return the associated Command, if any. If no match is found, treat it as an InsertChar command.