mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:38:10 +00:00
Vim: Add change word and delete word functionality
Add the functionality of key sequences 'cw', 'ce', 'cb', 'dw', 'de' and 'db'.
This commit is contained in:
parent
e2d7945e0c
commit
aaf691c4ef
5 changed files with 129 additions and 28 deletions
|
@ -68,9 +68,13 @@ protected:
|
|||
void move_page_down(const KeyEvent& event);
|
||||
void move_to_first_line();
|
||||
void move_to_last_line();
|
||||
TextPosition find_beginning_of_next_word();
|
||||
void move_to_beginning_of_next_word();
|
||||
TextPosition find_end_of_next_word();
|
||||
void move_to_end_of_next_word();
|
||||
TextPosition find_end_of_previous_word();
|
||||
void move_to_end_of_previous_word();
|
||||
TextPosition find_beginning_of_previous_word();
|
||||
void move_to_beginning_of_previous_word();
|
||||
|
||||
void move_up(const KeyEvent& event, double page_height_factor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue