diff options
author | Ivan Tham | 2021-11-14 15:16:47 +0000 |
---|---|---|
committer | GitHub | 2021-11-14 15:16:47 +0000 |
commit | b7c3877e947d95ee0fd9b1653dab6f65bb340439 (patch) | |
tree | 9f44635f172631a880373a532a10d1c1e413fe33 /helix-core/src | |
parent | 6fa76d9fe77d43ebc18cc78a6a1c1957d72cf59b (diff) |
Add movement shortcut for history (#1088)
alt-u and alt-U
Diffstat (limited to 'helix-core/src')
-rw-r--r-- | helix-core/src/history.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/history.rs b/helix-core/src/history.rs index 9fe7e530..4b1c8d3b 100644 --- a/helix-core/src/history.rs +++ b/helix-core/src/history.rs @@ -282,7 +282,7 @@ impl History { } /// Whether to undo by a number of edits or a duration of time. -#[derive(Debug, PartialEq)] +#[derive(Debug, PartialEq, Clone, Copy)] pub enum UndoKind { Steps(usize), TimePeriod(std::time::Duration), |