Open fasterthanlime opened 5 days ago
I cannot reproduce this:
https://github.com/zed-industries/zed/assets/1185253/49442d7e-226a-4f42-a3b2-ad9d7d6f6e6f
Two questions:
keymap.json
?I can confirm that behavior seems to be caused by one of these in my keymap:
[
{
"context": "Editor && vim_mode == normal",
"bindings": {
"t w": "pane::CloseAllItems",
"t k": "pane::ActivatePrevItem",
"t j": "pane::ActivateNextItem",
}
}
]
With those commented out, dt
behaves properly for me.
Ah, that helps a lot! Thank you!
Check for existing issues
Describe the bug / provide steps to reproduce it
In the following Rust code:
...I would expect
dt,
to result in the following diff:Instead, it results in the following diff:
(yes, it ended up deleting code before the cursor position).
In video form:
https://github.com/zed-industries/zed/assets/7998310/be04b948-ac76-4555-87db-ffd6c7dc35bf
Environment
Zed: v0.142.4 (Zed Preview) OS: macOS 15.0.0 Memory: 32 GiB Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.No response