diff --git a/basics.html b/basics.html
index 1edb38a3fd4f76d47627da51a7cbe03373df1fa5..adbe3fe98b44c89552640b3081f40de48c4c99b2 100644
--- a/basics.html
+++ b/basics.html
@@ -463,16 +463,16 @@
             ## git setup #2
 
             ```bash
-            # command line editor
-            git config --global core.editor nano
+            # Windows
+            git config --global core.editor notepad
+            git config --global core.autocrlf true
+
+            # Mac
+            git config --global core.editor 'open -Wne'
 
             # Linux GNOME / KDE
             git config --global core.editor gedit
             git config --global core.editor kate
-
-            # Windows
-            git config --global core.editor notepad
-            git config --global core.autocrlf true
             ```
 
             notes: