helix: Fix replace in helix mode (#34789)
Closes https://github.com/zed-industries/zed/issues/33076 Release Notes: - Fixed replace command on helix mode: now it actually replaces what was selected and keeps the replaced text selected to better match helix
This commit is contained in:
parent
29332c1962
commit
7cdd808db2
2 changed files with 103 additions and 2 deletions
|
@ -1639,6 +1639,7 @@ impl Vim {
|
|||
Mode::Visual | Mode::VisualLine | Mode::VisualBlock => {
|
||||
self.visual_replace(text, window, cx)
|
||||
}
|
||||
Mode::HelixNormal => self.helix_replace(&text, window, cx),
|
||||
_ => self.clear_operator(window, cx),
|
||||
},
|
||||
Some(Operator::Digraph { first_char }) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue