mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-11 21:13:02 +00:00
vim: Avoid collapsing selections on editor creation when vim_mode is disabled
This commit is contained in:
parent
eae7c2267c
commit
905fbacbc7
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue