feat: type c to git commit

also, fixed an issue that backspace can delete selected blocks
when there's a dialog.
This commit is contained in:
Tienson Qin
2021-08-27 00:23:24 +08:00
parent 78e24f7479
commit ea9af272e4
8 changed files with 50 additions and 45 deletions

View File

@@ -54,7 +54,7 @@
(not (string/blank? content))
(not= (string/trim content)
(string/trim (or (db/get-file repo path) ""))))
(p/let [result (ipc/ipc "gitCommitAll")
(p/let [result (ipc/ipc "gitCommitAll" "")
_ (file-handler/alter-file repo path content {:re-render-root? true
:from-disk? true})]
(set-missing-block-ids! content)