vim: add , and ;

This commit is contained in:
Conrad Irwin 2023-07-20 15:22:15 -06:00
parent a50d30bf8e
commit 4772e4ccee
5 changed files with 98 additions and 6 deletions

View file

@ -3,6 +3,8 @@ use language::CursorShape;
use serde::{Deserialize, Serialize};
use workspace::searchable::Direction;
use crate::motion::Motion;
#[derive(Clone, Copy, Debug, PartialEq, Eq, Deserialize, Serialize)]
pub enum Mode {
Normal,
@ -33,6 +35,8 @@ pub struct VimState {
pub mode: Mode,
pub operator_stack: Vec<Operator>,
pub search: SearchState,
pub last_find: Option<Motion>,
}
pub struct SearchState {