Struct liner::vi::Vi
[−]
[src]
pub struct Vi<'a, W: Write> { /* fields omitted */ }
Vi keybindings for Editor.
use liner::*; let mut context = Context::new(); context.key_bindings = KeyBindings::Vi;
Methods
impl<'a, W: Write> Vi<'a, W>[src]
Trait Implementations
impl<'a, W: Write> KeyMap<'a, W, Vi<'a, W>> for Vi<'a, W>[src]
fn handle_key_core(&mut self, key: Key) -> Result<()>[src]
fn editor_mut(&mut self) -> &mut Editor<'a, W>[src]
fn editor(&self) -> &Editor<'a, W>[src]
fn handle_key(
&mut self,
key: Key,
handler: &mut EventHandler<W>
) -> Result<bool>[src]
&mut self,
key: Key,
handler: &mut EventHandler<W>
) -> Result<bool>