ZIm/crates/terminal/src
Aleksei Gusev 665006c414
Move the cursor on search in Terminal if ViMode is active (#33305)
Currently, the terminal search function doesn't work well with ViMode.
It matches the search terms, scrolls the active match in the view, but
it doesn't move the cursor to the match, which makes it useless for
navigating the scrollback in vimode.

With this improvement, if a user activates ViMode before the search Zed
moves the cursor to the active search terms. So, when the search dialog
is dismissed the cursor is places on the latest active search term and
it's possible to navigate the scrollback via ViMode using this place as
the starting point.


https://github.com/user-attachments/assets/63325405-ed93-4bf8-a00f-28ded5511f31

Release Notes:

- Improved the search function in the terminal when ViMode is activated
2025-08-13 17:45:50 -04:00
..
mappings Fix Shift+Enter to send newline instead of carriage return in terminal (#33859) 2025-07-03 15:25:11 -07:00
pty_info.rs debugger: Allow users to shutdown debug sessions while they're booting (#34362) 2025-07-12 19:16:35 -04:00
terminal.rs Move the cursor on search in Terminal if ViMode is active (#33305) 2025-08-13 17:45:50 -04:00
terminal_hyperlinks.rs chore: Bump Rust version to 1.88 (#33439) 2025-06-26 20:54:19 +02:00
terminal_settings.rs Fix incorrect minimum_contrast comment (#34710) 2025-07-18 10:01:09 -04:00