summaryrefslogtreecommitdiff
path: root/helix-term/src/ui/editor.rs
diff options
context:
space:
mode:
authorath32021-11-14 15:11:53 +0000
committerGitHub2021-11-14 15:11:53 +0000
commit35c974c9c49f9127da3798c9a8e49795b3c4aadc (patch)
tree13324c42b38afd053eae9c3c8016f8a00b1af377 /helix-term/src/ui/editor.rs
parent0949a0de7fec9e11f8011693f84b1939b0a6a548 (diff)
Implement "Goto last modification" command (#1067)
Diffstat (limited to 'helix-term/src/ui/editor.rs')
-rw-r--r--helix-term/src/ui/editor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs
index dcf87203..bcd9f8f0 100644
--- a/helix-term/src/ui/editor.rs
+++ b/helix-term/src/ui/editor.rs
@@ -743,7 +743,7 @@ impl EditorView {
std::num::NonZeroUsize::new(cxt.editor.count.map_or(i, |c| c.get() * 10 + i));
}
// special handling for repeat operator
- key!('.') => {
+ key!('.') if self.keymaps.pending().is_empty() => {
// first execute whatever put us into insert mode
self.last_insert.0.execute(cxt);
// then replay the inputs