vi insert mode default (#213)

This commit is contained in:
Fernando Herrera 2021-12-27 10:28:07 +00:00 committed by GitHub
parent 8895756054
commit f9a6806e01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ impl Default for Vi {
insert_keybindings: default_vi_insert_keybindings(),
normal_keybindings: default_vi_normal_keybindings(),
cache: Vec::new(),
mode: Mode::Normal,
mode: Mode::Insert,
previous: None,
}
}

View File

@ -90,7 +90,7 @@ pub struct Reedline {
// Highlight the edit buffer
highlighter: Box<dyn Highlighter>,
// Showcase hints based on various stratiges (history, language-completion, spellcheck, etc)
// Showcase hints based on various strategies (history, language-completion, spellcheck, etc)
hinter: Box<dyn Hinter>,
// Is Some(n) read_line() should repaint prompt every `n` milliseconds