use the looping editor from library with-editor

Also see commit 310f3b30092b34a7ba5ed69518236c13df4c4b76 of git-modes.
Merge branch 'n/looping-editor' into next