|
|
@ -321,6 +321,12 @@ impl Default for Keymaps {
|
|
|
|
key!(Delete) => Command::delete_char_forward,
|
|
|
|
key!(Delete) => Command::delete_char_forward,
|
|
|
|
key!(Enter) => Command::insert_newline,
|
|
|
|
key!(Enter) => Command::insert_newline,
|
|
|
|
key!(Tab) => Command::insert_tab,
|
|
|
|
key!(Tab) => Command::insert_tab,
|
|
|
|
|
|
|
|
key!(Left) => Command::move_char_left,
|
|
|
|
|
|
|
|
key!(Down) => Command::move_line_down,
|
|
|
|
|
|
|
|
key!(Up) => Command::move_line_up,
|
|
|
|
|
|
|
|
key!(Right) => Command::move_char_right,
|
|
|
|
|
|
|
|
key!(PageUp) => Command::page_up,
|
|
|
|
|
|
|
|
key!(PageDown) => Command::page_down,
|
|
|
|
ctrl!('x') => Command::completion,
|
|
|
|
ctrl!('x') => Command::completion,
|
|
|
|
ctrl!('w') => Command::delete_word_backward,
|
|
|
|
ctrl!('w') => Command::delete_word_backward,
|
|
|
|
)),
|
|
|
|
)),
|
|
|
|