Implement Home/End

This commit is contained in:
Jeremy Soller 2022-10-19 11:08:15 -06:00
parent 369c265646
commit c29eed3a94
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE
3 changed files with 27 additions and 0 deletions

View file

@ -239,6 +239,14 @@ where
buffer.action(TextAction::Delete);
return Status::Captured;
},
KeyCode::Home => {
buffer.action(TextAction::Home);
return Status::Captured;
},
KeyCode::End => {
buffer.action(TextAction::End);
return Status::Captured;
},
KeyCode::PageUp => {
buffer.action(TextAction::PageUp);
return Status::Captured;