Add command_mode action
This commit is contained in:
parent
a40ef42ed6
commit
18604f3ddd
|
@ -71,6 +71,10 @@ pub fn goto_line_end_newline(state: &mut State) {
|
|||
state.set_error("goto_line_end_newline is unimplemented");
|
||||
}
|
||||
|
||||
pub fn command_mode(state: &mut State) {
|
||||
state.mode = Mode::Command(Default::default());
|
||||
}
|
||||
|
||||
pub fn normal_mode(state: &mut State) {
|
||||
match state.mode {
|
||||
Mode::Insert(InsertState { append: true }) => {
|
||||
|
|
Loading…
Reference in New Issue