feat: git integration

This commit is contained in:
Tienson Qin
2021-08-24 17:50:36 +08:00
parent 78de8ce5bc
commit 4c3bdb0bf3
16 changed files with 298 additions and 39 deletions

View File

@@ -322,7 +322,11 @@
:shortcut.handler/global-non-editing-only
^{:before m/enable-when-not-editing-mode!}
{:ui/toggle-document-mode
{:command/run
{:desc "Run git/pandoc/others commands"
:binding "r"
:fn #(state/pub-event! [:command/run])}
:ui/toggle-document-mode
{:desc "Toggle document mode"
:binding "t d"
:fn state/toggle-document-mode!}