1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 18:27:39 +00:00

VimEditingEngine: Add handling { and } to move between empty lines

This commit is contained in:
Rok Povsic 2021-01-11 22:22:27 +01:00 committed by Andreas Kling
parent f8fffe4613
commit 77d4b6e435
2 changed files with 48 additions and 0 deletions

View file

@ -47,6 +47,8 @@ private:
void switch_to_visual_mode();
void move_half_page_up(const KeyEvent& event);
void move_half_page_down(const KeyEvent& event);
void move_to_previous_empty_lines_block();
void move_to_next_empty_lines_block();
bool on_key_in_insert_mode(const KeyEvent& event);
bool on_key_in_normal_mode(const KeyEvent& event);