diff --git a/alacritty/src/input.rs b/alacritty/src/input.rs index 937457c4..b9210393 100644 --- a/alacritty/src/input.rs +++ b/alacritty/src/input.rs @@ -635,9 +635,11 @@ impl<'a, T: EventListener, A: ActionContext> Processor<'a, T, A> { term.vi_mode_cursor.point.col = absolute.col; // Update selection - let point = term.vi_mode_cursor.point; - if !self.ctx.selection_is_empty() { - self.ctx.update_selection(point, Side::Right); + if term.mode().contains(TermMode::VI) { + let point = term.vi_mode_cursor.point; + if !self.ctx.selection_is_empty() { + self.ctx.update_selection(point, Side::Right); + } } }