mirror of
https://github.com/nushell/reedline.git
synced 2024-09-19 20:19:03 +03:00
vi insert mode default (#213)
This commit is contained in:
parent
8895756054
commit
f9a6806e01
@ -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,
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user