mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
vim: Avoid collapsing selections on editor creation when vim_mode is disabled
This commit is contained in:
parent
eae7c2267c
commit
905fbacbc7
@ -157,7 +157,7 @@ impl Vim {
|
||||
map.clip_point(selection.head(), Bias::Left),
|
||||
selection.goal,
|
||||
);
|
||||
if state.empty_selections_only() {
|
||||
if self.enabled && state.empty_selections_only() {
|
||||
selection.collapse_to(selection.head(), selection.goal)
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user