From 882c7de4dcf51ef5e06454baea8f684de27dff57 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Am=C3=A9lia=20Coutard-Sander?= <git@ameliathe1st.gay>
Date: Sun, 5 Jan 2025 01:50:12 +0100
Subject: [PATCH] =?utf8?q?0=20renvoie=20=C3=A0=20l'origine?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

---
 bin/modes.ml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/modes.ml b/bin/modes.ml
index c3bdf96..a0c47ee 100644
--- a/bin/modes.ml
+++ b/bin/modes.ml
@@ -244,6 +244,7 @@ and Normal : (Mode with type initer = unit) = struct
             in
             function
             | ':' -> (EditorState (m, st), Either.right (ModeAux.ModeAndState ((module Command), Command.initial "")))
+            | '0' when n.n = None -> (EditorState (m, { st with pos = (0, 0) }), Either.left n)
             | c when '0' <= c && c <= '9' ->
                     (EditorState (m, st), Either.left (chnum (int_of_char c - int_of_char '0') n))
             | 's' -> (EditorState (m, set_current st), Either.left { n = None })
-- 
2.46.0