diff options
Diffstat (limited to 'alacritty_terminal/src/vi_mode.rs')
-rw-r--r-- | alacritty_terminal/src/vi_mode.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alacritty_terminal/src/vi_mode.rs b/alacritty_terminal/src/vi_mode.rs index f6e93fd9..46439a75 100644 --- a/alacritty_terminal/src/vi_mode.rs +++ b/alacritty_terminal/src/vi_mode.rs @@ -1,6 +1,6 @@ use std::cmp::{max, min}; -use serde::Deserialize; +use alacritty_config_derive::ConfigDeserialize; use crate::event::EventListener; use crate::grid::{Dimensions, GridCell}; @@ -9,7 +9,7 @@ use crate::term::cell::Flags; use crate::term::Term; /// Possible vi mode motion movements. -#[derive(Debug, Copy, Clone, PartialEq, Eq, Deserialize)] +#[derive(ConfigDeserialize, Debug, Copy, Clone, PartialEq, Eq)] pub enum ViMotion { /// Move up. Up, |