mirror of
https://github.com/danbulant/nushell
synced 2026-05-19 20:38:40 +00:00
set default edit_mode to emacs instead of vi (#2278)
This commit is contained in:
parent
aca7f71737
commit
16cfc36aec
1 changed files with 1 additions and 1 deletions
|
|
@ -641,7 +641,7 @@ pub fn set_rustyline_configuration() -> (Editor<Helper>, IndexMap<String, Value>
|
|||
Ok(s) if s.to_lowercase() == "emacs" => {
|
||||
rustyline::config::EditMode::Emacs
|
||||
}
|
||||
_ => rustyline::config::EditMode::Vi,
|
||||
_ => rustyline::config::EditMode::Emacs,
|
||||
};
|
||||
rl.set_edit_mode(edit_mode);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue