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),
|
map.clip_point(selection.head(), Bias::Left),
|
||||||
selection.goal,
|
selection.goal,
|
||||||
);
|
);
|
||||||
if state.empty_selections_only() {
|
if self.enabled && state.empty_selections_only() {
|
||||||
selection.collapse_to(selection.head(), selection.goal)
|
selection.collapse_to(selection.head(), selection.goal)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue